CancellationTokenSource.Dispose Method (Boolean)

May 11, 2014

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

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

protected virtual void Dispose(
	bool disposing
)

Parameters

disposing
Type: System.Boolean
true to release both managed and unmanaged resources; false to release only unmanaged resources.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2014 Microsoft