Export (0) Print
Expand All

LicenseAcquirer.CancelAsync Method

Silverlight

Cancels a license acquisition.

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

public void CancelAsync()

ExceptionCondition
InvalidOperationException

If no license acquisition is in progress.

This method is called to cancel a license acquisition. If the license acquisition is occurring via a MediaElement, calling this method causes playback to fail with a "license acquisition failure" error. If domain acquisition is occurring via an automatic domain join, this method also cancels that domain acquisition.

Silverlight

Supported in: 5, 4

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

Community Additions

ADD
Show:
© 2014 Microsoft