Windows Dev Center

DataRequestDeferral class

Enables you to exchange content with a target app asynchronously.

Syntax


public ref class DataRequestDeferral sealed 

Members

The DataRequestDeferral class has these types of members:

Methods

The DataRequestDeferral class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.

MethodDescription
Complete Indicates that the content for an asynchronous share is ready for a target app, or that an error in the sharing operation occurred.

 

Remarks

You get an instance of the DataRequestDeferral class when you call the getDeferral method of a DataPackage.

Examples

This example shows how to get a DataRequestDeferral object as part of sharing an image with a target app.

No code example is currently available or this language may not be supported.

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.ApplicationModel.DataTransfer
Windows::ApplicationModel::DataTransfer [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.ApplicationModel.DataTransfer
Windows::ApplicationModel::DataTransfer [C++]

Metadata

Windows.winmd

Attributes

[MarshalingBehavior(Agile)]
[Version(0x06020000)]

See also

Object

 

 

Show:
© 2015 Microsoft