Share via


WidgetResourceRequestedArgs.GetDeferral Method

Definition

Informs the system that the resource response task might continue to perform work after the IWidgetResourceProvider.OnResourceRequested handler returns.

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

Returns

A Deferral object.

Remarks

If the evaluation of the resource for the response is not immediately available, the provider should request a deferral, initiate a background task, and complete the deferral when the resource is available.

Applies to