ShareOperation.ReportError(String) ShareOperation.ReportError(String) ShareOperation.ReportError(String) ShareOperation.ReportError(String) ShareOperation.ReportError(String) Method

Definition

Specifies that an error occurred during the sharing operation.

public : void ReportError(Platform::String value)
void ReportError(winrt::hstring value) const;
public void ReportError(String value)
Public Sub ReportError(value As String)
shareOperation.reportError(value);

Parameters

value
String String String

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

Remarks

This API was marked as deprecated in SDK versions 1511 and 1607. However, this API is no longer deprecated as of 1703. You can suppress the deprecation warning in Visual Studio by following instructions in the How to: Suppress Compiler Warnings topic.