Utility::LogCustomAppError method

SharePoint Online

Reports custom errors from SharePoint-hosted components of SharePoint Add-ins.

Namespace:  Microsoft.SharePoint.Client.Utilities
Assembly:  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

No code example is currently available or this language may not be supported.

Parameters

context
Type: Microsoft.SharePoint.Client.ClientRuntimeContext

The client context.

error
Type: System.String

The custom error message.

Return value

Type: Microsoft.SharePoint.Client.ClientResult<LogAppErrorResult>
A value that specifies whether the attempt to log the error was successful.
Show: