Table of Contents

Class CsomServiceException

Namespace
PnP.Core
Assembly
PnP.Core.dll

CSOM Service exception

public class CsomServiceException : ServiceException, ISerializable
Inheritance
CsomServiceException
Implements
Inherited Members

Constructors

CsomServiceException(ErrorType, int, JsonElement)

Creates a CsomServiceException using the provided error type, http response code and CSOM request response

public CsomServiceException(ErrorType type, int httpResponseCode, JsonElement response)

Parameters

type ErrorType

Type of the error

httpResponseCode int

Http response code of the executed CSOM request

response JsonElement

JSON response of the executed CSOM request

Methods

ToString()

Outputs a CsomServiceException to a string representation

public override string ToString()

Returns

string

String representation