Click or drag to resize
AsyncCancellationTokenSource Class
Cancellation token source for asynchronus operations.
Inheritance Hierarchy
SystemObject
  PatchKit.AsyncAsyncCancellationTokenSource

Namespace: PatchKit.Async
Assembly: PatchKit.Async (in PatchKit.Async.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public sealed class AsyncCancellationTokenSource

The AsyncCancellationTokenSource type exposes the following members.

Constructors
  NameDescription
Public methodAsyncCancellationTokenSource
Initializes a new instance of the AsyncCancellationTokenSource class
Top
Properties
  NameDescription
Public propertyIsCancellationRequested
True if cancellation is requested. Otherwise false.
Public propertyToken
Cancellation token.
Top
Methods
  NameDescription
Public methodCancel
Requests the cancellation. Executes all of callbacks registered with Register(Action).
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also