SPUtility.LogCustomAppError method

SharePoint 2013

Logs the specified custom error for the app instance.

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

Public Shared Function LogCustomAppError ( _
	error As String _
) As LogAppErrorResult
Dim error As String
Dim returnValue As LogAppErrorResult

returnValue = SPUtility.LogCustomAppError(error)


Type: System.String

Return value

Type: Microsoft.SharePoint.Utilities.LogAppErrorResult
LogAppErrorResult indicating success or failure.

The calling code needs to establish valid app web context and app identity.