Request | request property
Collapse the table of content
Expand the table of content

DataRequestedEventArgs.Request | request property

Enables you to get the DataRequest object and either give it data or a failure message.

Syntax


var request = dataRequestedEventArgs.request;

Property value

Type: DataRequest

The object used to manage content as part of a share operation.

Remarks

When a user invokes the Share UI to share content, the system fires a datarequested event. The request property of the event contains a DataRequest object, which lets your app supply the information the user wants to share.

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

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

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

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

Metadata

Windows.winmd

See also

DataRequestedEventArgs

 

 

Show:
© 2016 Microsoft