|   | Compatible | 
 Inheritance Hierarchy
Inheritance Hierarchy
         Syntax
Syntaxpublic class CompatibleCancellationToken : ICancellationToken
The CompatibleCancellationToken type exposes the following members.
 Constructors
Constructors| Name | Description | |
|---|---|---|
|  | CompatibleCancellationToken(CancellationToken) | Creates a CompatibleCancellationToken based on an existing GSF cancellation token. | 
|  | CompatibleCancellationToken(CancellationToken) | Creates a CompatibleCancellationToken based on an existing system cancellation token. | 
|  | CompatibleCancellationToken(CancellationTokenSource) | Creates a CompatibleCancellationToken based on an existing system cancellation token source. | 
 Properties
Properties| Name | Description | |
|---|---|---|
|  | IsCancelled | Gets a value that indicates whether the operation has been cancelled. | 
 Methods
Methods| Name | Description | |
|---|---|---|
|  | Cancel | Cancels the operation. | 
|  | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | 
|  | Finalize | Handle disposing of locally allocated resources, if any. (Overrides ObjectFinalize) | 
|  | GetHashCode | Serves as the default hash function. (Inherited from Object) | 
|  | GetToken | Gets a CancellationToken associated with this CompatibleCancellationToken. | 
|  | GetTokenSource | Gets a CancellationTokenSource associated with this CompatibleCancellationToken. | 
|  | GetType | Gets the Type of the current instance. (Inherited from Object) | 
|  | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | 
|  | ToString | Returns a string that represents the current object. (Inherited from Object) | 
 Operators
Operators| Name | Description | |
|---|---|---|
|   | (CancellationToken to CompatibleCancellationToken) | Implicitly converts existing system cancellation token to a CompatibleCancellationToken. | 
|   | (CancellationTokenSource to CompatibleCancellationToken) | Implicitly converts existing system cancellation token source to a CompatibleCancellationToken. | 
|   | (CompatibleCancellationToken to CancellationToken) | Implicitly converts a CompatibleCancellationToken to an associated CancellationToken. | 
|   | (CompatibleCancellationToken to CancellationTokenSource) | Implicitly converts a CompatibleCancellationToken to an associated CancellationTokenSource. | 
 Extension Methods
Extension Methods| Name | Description | |
|---|---|---|
|  | GetEnumValueOrDefault | Gets the enumeration constant for value, if defined in the enumeration, or a default value. (Defined by EnumExtensions) | 
|  | GetEnumValueOrDefaultT | Gets the enumeration constant for this value, if defined in the enumeration, or a default value. (Defined by EnumExtensions) | 
 See Also
See Also