CancelOnDisposalCancellationTokenSource Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A CancellationTokenSource that cancels the token when disposed.
public class CancelOnDisposalCancellationTokenSource : System.Threading.CancellationTokenSource
type CancelOnDisposalCancellationTokenSource = class
inherit CancellationTokenSource
Public Class CancelOnDisposalCancellationTokenSource
Inherits CancellationTokenSource
- Inheritance
-
CancelOnDisposalCancellationTokenSource
Constructors
CancelOnDisposalCancellationTokenSource() |
Methods
Dispose(Boolean) | Releases the unmanaged resources used by the CancellationTokenSource class and optionally releases the managed resources. |