DomainAcquirer.CancelAsync Method
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Called to cancel an ongoing ___domain operation.
Namespace: System.Windows.Media
Assembly: System.Windows (in System.Windows.dll)
Syntax
'Declaration
Public Sub CancelAsync
public void CancelAsync()
Remarks
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.
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.
See Also