SPUtility.LogCustomRemoteAppError(Guid, String) Method

Definition

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

Parameters

productId
Guid
error
String

Returns

LogAppErrorResult
Attributes
ClientCallableAttribute ClientCallableExceptionConstraintAttribute SubsetCallableExcludeMemberAttribute

Applies to