IExecutableCommand.ExecuteCommandAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.