Class CommandLineHandler
Metadata for the command line update handler. This handler applies updates by running various scripts on a device.
Inherited Members
Namespace: Microsoft.PackageGraph.MicrosoftUpdate.Metadata.Handlers
Assembly: package-graph-microsoft-update.dll
Syntax
public class CommandLineHandler : HandlerMetadata
Properties
| Improve this Doc View SourceArguments
The arguments to pass to the update program
Declaration
[JsonProperty]
public string Arguments { get; }
Property Value
Type | Description |
---|---|
System.String |
DefaultResult
The default result code expected from the update program
Declaration
[JsonProperty]
public string DefaultResult { get; }
Property Value
Type | Description |
---|---|
System.String |
Program
The program to invoke in order to perform the updates
Declaration
[JsonProperty]
public string Program { get; }
Property Value
Type | Description |
---|---|
System.String |
RebootByDefault
Whether to reboot the device, regardless of the return code
Declaration
[JsonProperty]
public bool? RebootByDefault { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
ReturnCodes
Expected result codes
Declaration
[JsonProperty]
public List<ReturnCode> ReturnCodes { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<ReturnCode> |