Class CsomServiceException
CSOM Service exception
Inherited Members
Namespace: PnP.Core
Assembly: PnP.Core.dll
Syntax
public class CsomServiceException : ServiceException
Constructors
CsomServiceException(ErrorType, Int32, JsonElement)
Creates a CsomServiceException using the provided error type, http response code and CSOM request response
Declaration
public CsomServiceException(ErrorType type, int httpResponseCode, JsonElement response)
Parameters
ErrorType
type
Type of the error |
System.Int32
httpResponseCode
Http response code of the executed CSOM request |
JsonElement
response
JSON response of the executed CSOM request |
Methods
ToString()
Outputs a CsomServiceException to a string representation
Declaration
public override string ToString()
Returns
System.String
String representation |