DataRequest.FailWithDisplayText | failWithDisplayText method

This topic has not yet been rated - Rate this topic

Cancels the sharing operation and supplies an error string to display to the user.

Syntax


public:
void FailWithDisplayText(
  String^ value
)

Parameters

value

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

The text to display to the user.

Remarks

Use the FailWithDisplayText method when your app is unable to supply a DataPackage to a target app. This method cancels the share operation and supplies a text message to the target app. The target app can then display this text to the user to explain why the share operation failed.

Windows Phone 8

This API is not implemented and will throw an exception if called.

Requirements

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

DataRequest

 

 

Build date: 2/25/2013

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.