Aracılığıyla paylaş


DomainAcquirer.OnCancel Method

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

Overridden in a derived class to implement cancellation during manual domain operations.

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

Syntax

'Declaration
Protected Overridable Sub OnCancel
protected virtual void OnCancel()

Remarks

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

Version Information

Silverlight

Supported in: 5, 4

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

Platforms

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