共用方式為


IExecutableCommand.ExecuteCommandAsync Method

Definition

Called to invoke the command.

public System.Threading.Tasks.Task ExecuteCommandAsync (System.Collections.Generic.IReadOnlyDictionary<string,object?> contextProperties, System.Threading.CancellationToken cancellationToken);
abstract member ExecuteCommandAsync : System.Collections.Generic.IReadOnlyDictionary<string, obj> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function ExecuteCommandAsync (contextProperties As IReadOnlyDictionary(Of String, Object), cancellationToken As CancellationToken) As Task

Parameters

contextProperties
IReadOnlyDictionary<String,Object>

Captured context properties for this command.

cancellationToken
CancellationToken

Cancellation token.

Returns

Task to track the asynchronous call status.

Applies to