| AsyncCancellationTokenSource Class |
Namespace: PatchKit.Async
public sealed class AsyncCancellationTokenSource
The AsyncCancellationTokenSource type exposes the following members.
| Name | Description | |
|---|---|---|
| AsyncCancellationTokenSource | Initializes a new instance of the AsyncCancellationTokenSource class |
| Name | Description | |
|---|---|---|
| IsCancellationRequested | True if cancellation is requested. Otherwise false.
| |
| Token |
Cancellation token.
|
| Name | Description | |
|---|---|---|
| Cancel |
Requests the cancellation. Executes all of callbacks registered with Register(Action).
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |