ExecuteMethodAsync Method
Definition
- Assemblies
- Cuemon.Core.dll
ExecuteMethodAsync(CancellationToken)
Executes the delegate associated with this instance.
public Task ExecuteMethodAsync(CancellationToken ct)
Parameters
ctCancellationTokenThe token to monitor for cancellation requests. The default value is None.
Returns
- Task
A task that represents the asynchronous operation.
Exceptions
- InvalidOperationException
No delegate was specified on the factory.
- OperationCanceledException
The
ctwas canceled.