Export (0) Print
Expand All
Expand Minimize

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)

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

returnValue = SPUtility.LogCustomAppError(error)

Parameters

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.

Show:
© 2014 Microsoft