CancellableOperationT Class |
Namespace: MFiles.VAF.MultiserverMode
The CancellableOperationT type exposes the following members.
Name | Description | |
---|---|---|
![]() | CancellableOperationT |
Self initializing constructor.
|
Name | Description | |
---|---|---|
![]() | Data |
Data value clone container.
|
![]() | LinkedTokenSource |
Protected linked cancellation token source.
- Used to request cancellation of the process.
|
![]() | Task |
The system task that processes this operation.
|
![]() | Token |
Linked cancellation token.
|
Name | Description | |
---|---|---|
![]() | Cancel |
Requests cancellation of the operation.
|
![]() | CancelAfter |
Requests cancellation of the operation.
|
![]() | OnCancellationRequested |
Cancellation requested event invocation.
|
![]() | ResetCancellationToken |
Resets the cancellation token source.
|
![]() | ThrowIfCancellationRequested |
If cancellation has been requested:
- The CancellationRequest event is fired.
- Then the cancellation exception is thrown.
|
![]() | ThrowIfNull |
Asserts the passed object is not null.
|
![]() | TriggerCancellationRequested |
Triggers the cancellation requested event, for any registered listeners.
|
Name | Description | |
---|---|---|
![]() | CancellationRequested |
Event fired on cancellation requested.
|