winget-cli

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

IConfigurationUnitResultException.cs (1158B)


      1 // -----------------------------------------------------------------------------
      2 // <copyright file="IConfigurationUnitResultException.cs" company="Microsoft Corporation">
      3 //     Copyright (c) Microsoft Corporation. Licensed under the MIT License.
      4 // </copyright>
      5 // -----------------------------------------------------------------------------
      6 
      7 namespace Microsoft.Management.Configuration.Processor.Exceptions
      8 {
      9     using System;
     10     using Microsoft.PowerShell.Commands;
     11 
     12     /// <summary>
     13     /// An interface that enables an exception to expose information appropriate for a unit result.
     14     /// </summary>
     15     internal interface IConfigurationUnitResultException
     16     {
     17         /// <summary>
     18         /// Gets a value indicating the source of the result.
     19         /// </summary>
     20         public ConfigurationUnitResultSource ResultSource { get; }
     21 
     22         /// <summary>
     23         /// Gets the description of the result.
     24         /// </summary>
     25         public string Description { get; }
     26 
     27         /// <summary>
     28         /// Gets the details for the result.
     29         /// </summary>
     30         public string Details { get; }
     31     }
     32 }