MediaBindingEventArgs.GetDeferral Method
Definition
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.
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.