Share via


InitializeMediaStreamSourceRequestedEventArgs.GetDeferral Method

Definition

Gets a Deferral object that instructs the system to wait for the app service to complete media source stream initialization before continuing processing the request.

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

Returns

A Deferral object.

Remarks

You must request a deferral if your stream source initialization perfoms any asynchronous actions. Call Complete when intitialization is complete to notify the system to continue processing the request.

Applies to