PerceptionPropertyChangeRequest.GetDeferral Method

Definition

Gets a Windows::Foundation::Deferral object to allow background processing if needed.

public:
 virtual Deferral ^ GetDeferral() = GetDeferral;
Deferral GetDeferral();
/// [Windows.Foundation.Metadata.Deprecated("PerceptionPropertyChangeRequest may be unavailable after Windows Creator Update. Please refer to AVStream on MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
Deferral GetDeferral();
public Deferral GetDeferral();
[Windows.Foundation.Metadata.Deprecated("PerceptionPropertyChangeRequest may be unavailable after Windows Creator Update. Please refer to AVStream on MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
public Deferral GetDeferral();
function getDeferral()
Public Function GetDeferral () As Deferral

Returns

The Deferral object.

Attributes

Remarks

When doing background processing, call GetDeferral() and store the result as well as the * PerceptionPropertyChangeRequest. When background processing is complete, set the Status on the PerceptionPropertyChangeRequest and call Complete() on the deferral before removing references to the objects.

Applies to