Compatible
|
public class CompatibleCancellationToken : ICancellationToken
The CompatibleCancellationToken type exposes the following members.
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. |
Name | Description | |
---|---|---|
IsCancelled | Gets a value that indicates whether the operation has been cancelled. |
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) |
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. |
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) |