Dela via


DataProviderHandler Delegate

Definition

Provides data when the target app requests it, instead of including the data in the DataPackage ahead of time. [ DataProviderHandler is used when the source app wants to avoid unnecessary work that is resource intensive, such as performing format conversions.

public delegate void DataProviderHandler(DataProviderRequest ^ request);
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(3891058464, 62196, 18989, 146, 14, 23, 10, 47, 72, 42, 39)]
class DataProviderHandler : MulticastDelegate
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(3891058464, 62196, 18989, 146, 14, 23, 10, 47, 72, 42, 39)]
public delegate void DataProviderHandler(DataProviderRequest request);
var dataProviderHandlerHandler = function(request){
/* Your code */
}
Public Delegate Sub DataProviderHandler(request As DataProviderRequest)

Parameters

request
DataProviderRequest

Contains the data that the user wants to share.

Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Applies to