SPUtility.LogCustomAppError(String) Method

Definition

public:
 static Microsoft::SharePoint::Utilities::LogAppErrorResult LogCustomAppError(System::String ^ error);
[Microsoft.SharePoint.Client.ClientCallable]
[Microsoft.SharePoint.Client.ClientCallableExceptionConstraint(Condition="Thrown when the 'error' parameter is null or empty.", ErrorType=typeof(System.ArgumentException), FixedId="argumentException")]
[Microsoft.SharePoint.Client.ClientCallableExceptionConstraint(Condition="Thrown if the web in context is not an appweb or app identity is not set.", ErrorType=typeof(System.UnauthorizedAccessException), FixedId="unauthorizedAccess")]
[Microsoft.SharePoint.Client.SubsetCallableExcludeMember(Microsoft.SharePoint.Client.SubsetCallableExcludeMemberType.PerSpec)]
public static Microsoft.SharePoint.Utilities.LogAppErrorResult LogCustomAppError (string error);
static member LogCustomAppError : string -> Microsoft.SharePoint.Utilities.LogAppErrorResult
Public Shared Function LogCustomAppError (error As String) As LogAppErrorResult

Parameters

error
String

Returns

LogAppErrorResult
Attributes
ClientCallableAttribute ClientCallableExceptionConstraintAttribute SubsetCallableExcludeMemberAttribute

Applies to