Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
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)

public static LogAppErrorResult LogCustomAppError(
	string 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.

© 2015 Microsoft