Share via


DevicePairingRequestedEventArgs.GetDeferral Method

Definition

Requests a Deferral to support asynchronous operations.

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

Returns

The deferral necessary to support asynchronous actions.

Remarks

Sometimes it is necessary to create a delay while the user interacts with the application to support a specific DevicePairingKinds value. For example, with ProvidePin, the application needs to wait until the user finishes providing a pin before continuing with the pairing process.

Applies to