Method Execute
Execute(CancellationToken)
Executes the action with support for parent cancellation. The action can be cancelled (if supported) by calling the Cancel method either on the action itself or on the parent.
Declaration
public void Execute(CancellationToken parentToken = default)
Parameters
Type | Name | Description |
---|---|---|
CancellationToken | parentToken | The cancellation token of the parent. |