.NET Framework Class Library |
CancellationTokenSource..::.Dispose Method |
CancellationTokenSource Class See Also Send Feedback |
Releases the resources used by this CancellationTokenSource.
Namespace:
System.Threading
Assembly:
System.Threading (in System.Threading.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Sub Dispose |
C# |
---|
public void Dispose() |
Implements
IDisposable..::.Dispose()()()Remarks
This method is not thread-safe for any other concurrent calls.