Utility.LogCustomAppError method

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)

Syntax

'Declaration
Public Shared Function LogCustomAppError ( _
    context As ClientRuntimeContext, _
    error As String _
) As ClientResult(Of LogAppErrorResult)
'Usage
Dim context As ClientRuntimeContext
Dim error As String
Dim returnValue As ClientResult(Of LogAppErrorResult)

returnValue = Utility.LogCustomAppError(context, _
    error)
public static ClientResult<LogAppErrorResult> LogCustomAppError(
    ClientRuntimeContext context,
    string error
)

Parameters

Return value

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

See also

Reference

Utility class

Utility members

Microsoft.SharePoint.Client.Utilities namespace