Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DomainAcquirer.CancelAsync Method


Called to cancel an ongoing domain operation.

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

public void CancelAsync()


If no domain operation is in progress.

Method used to cancel an ongoing domain operation. If the domain operation is a domain join and is occurring via a LicenseAcquirer, calling this method will also cancel license acquisition (and, indirectly, playback will fail with a license acquisition failure error message if license acquisition was occurring via a MediaElement). For domain leave, this method only cancels the asynchronous operation informing the server that the client has left the domain. Refer to LeaveDomainAsync for more 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.

Community Additions

© 2015 Microsoft