|   | Managed | 
 Inheritance Hierarchy
Inheritance Hierarchy
         Syntax
SyntaxThe ManagedCancellationTokenSource type exposes the following members.
 Constructors
Constructors| Name | Description | |
|---|---|---|
|  | ManagedCancellationTokenSource | Creates a new instance of the ManagedCancellationTokenSource class. | 
|  | ManagedCancellationTokenSource(CancellationTokenSource) | Creates a new instance of the ManagedCancellationTokenSource class. | 
|  | ManagedCancellationTokenSource(FuncCancellationTokenSource) | Creates a new instance of the ManagedCancellationTokenSource class. | 
 Methods
Methods| Name | Description | |
|---|---|---|
|  | Dispose | Cancels the underlying CancellationTokenSource and schedules it for disposal. | 
|  | 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) | 
|  | RetrieveToken | Retrieves the CancellationToken used to check the state of cancellation. | 
|  | ToString | Returns a string that represents the current object. (Inherited from Object) | 
 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