CommandResultValue interface

The value field of a ICommandResultActivity contains metadata related to a command result. An optional extensible data payload may be included if defined by the command activity name. The presence of an error field indicates that the original command failed to complete.

Properties

commandId

ID of the command.

data

The data field containing optional parameters specific to this command activity, as defined by the name. The value of the data field is a complex type.

error

The optional error, if the command result indicates a failure.

Property Details

commandId

ID of the command.

commandId: string

Property Value

string

data

The data field containing optional parameters specific to this command activity, as defined by the name. The value of the data field is a complex type.

data?: T

Property Value

T

error

The optional error, if the command result indicates a failure.

error?: Error

Property Value

Error