Class ReturnCode
Metadata for representing the expected return codes of various update handlers
Inheritance
System.Object
ReturnCode
Namespace: Microsoft.PackageGraph.MicrosoftUpdate.Metadata.Handlers
Assembly: package-graph-microsoft-update.dll
Syntax
public class ReturnCode
Properties
| Improve this Doc View SourceCode
The numerical return code
Declaration
[JsonProperty]
public int? Code { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
DefaultLocalizedDescription
Localized result string
Declaration
[JsonProperty]
public string DefaultLocalizedDescription { get; }
Property Value
Type | Description |
---|---|
System.String |
Reboot
Whether a return code indicates reboot required
Declaration
[JsonProperty]
public bool? Reboot { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
Result
Corresponding result string
Declaration
[JsonProperty]
public string Result { get; }
Property Value
Type | Description |
---|---|
System.String |