Skip to main content
ShareOperation.ReportError | reportError method

Applies to Windows and Windows Phone

Specifies that an error occurred during the sharing operation.

Syntax


shareOperation.reportError(value);

public void ReportError(
  string value
)

Public Sub ReportError(
  value As String 
)

public:
void ReportError(
  String^ value
)

Parameters

value

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

Specifies the error message. The system displays this message to the user.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

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

Namespace

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

Metadata

Windows.winmd

See also

ShareOperation