Releases all resources used by the current instance of the CancellationTokenRegistration class.
Assembly: mscorlib (in mscorlib.dll)
'Declaration Public Sub Dispose
public void Dispose()
The token source that created this token registration instance has already been disposed.
Call Dispose when you are finished using the CancellationTokenRegistration. The Dispose method leaves the CancellationTokenRegistration in an unusable state. After calling Dispose, you must release all references to the CancellationTokenRegistration so the garbage collector can reclaim the memory that the CancellationTokenRegistration was occupying.
Supported in: 5
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.