CancellationTokenSource.Dispose Method

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Releases all resources used by the current instance of the CancellationTokenSource class.

Namespace:   System.Threading
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodDispose()

Releases all resources used by the current instance of the CancellationTokenSource class.

System_CAPS_protmethodDispose(Boolean)

Releases the unmanaged resources used by the CancellationTokenSource class and optionally releases the managed resources.

Return to top
Show: