LicenseAcquirer.OnCancel Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Overridden in a derived class to implement cancellation during manual license acquisition.

Namespace:  System.Windows.Media
Assembly:  System.Windows (in System.Windows.dll)


Protected Overridable Sub OnCancel
protected virtual void OnCancel()


The OnCancel method provides a clean interface for cancelling network operations and cleaning up state data used by a manual license operation implementation.

Version Information


Supported in: 5, 4

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1


For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.