Dispose Method

Task Parallel System.Threading

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.

See Also