Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

MediaBindingEventArgs.GetDeferral Method

Definition

Namespace:
Windows.Media.Core

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Informs the system that the app might continue to perform work after the Binding event handler returns.

public:
 virtual Deferral ^ GetDeferral() = GetDeferral;
Deferral GetDeferral();
public Deferral GetDeferral();
function getDeferral()
Public Function GetDeferral () As Deferral

Returns

The requested deferral.

Remarks

Since retrieving and binding the media content may take a significant amount of time, this should typically be performed asynchronously. Requesting a deferral lets the system know that your app is continuing to perform asynchronous work after the Binding event handler has returned. Call the Complete method when your binding operation is finished.

Subscribe to the Canceled event to be alerted by the system if the binding operation should be canceled.

Applies to


Feedback

Was this page helpful?