Show / Hide Table of Contents

Class CommandLineHandler

Metadata for the command line update handler. This handler applies updates by running various scripts on a device.

Inheritance
System.Object
HandlerMetadata
CommandLineHandler
Inherited Members
HandlerMetadata.HandlerType
Namespace: Microsoft.PackageGraph.MicrosoftUpdate.Metadata.Handlers
Assembly: package-graph-microsoft-update.dll
Syntax
public class CommandLineHandler : HandlerMetadata

Properties

| Improve this Doc View Source

Arguments

The arguments to pass to the update program

Declaration
[JsonProperty]
public string Arguments { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

DefaultResult

The default result code expected from the update program

Declaration
[JsonProperty]
public string DefaultResult { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Program

The program to invoke in order to perform the updates

Declaration
[JsonProperty]
public string Program { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

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>
| Improve this Doc View Source

ReturnCodes

Expected result codes

Declaration
[JsonProperty]
public List<ReturnCode> ReturnCodes { get; }
Property Value
Type Description
System.Collections.Generic.List<ReturnCode>
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX