Share via


DevicePortalConnectionRequestReceivedEventArgs.GetDeferral Method

Definition

Retrieves a deferral object to allow the background task to continue executing while a Device Portal connection is open.

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

Returns

The deferral object.

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)

Applies to