Search Results for

    Show / Hide Table of Contents

    Class CsomServiceException

    CSOM Service exception

    Inheritance
    System.Object
    PnPException
    ServiceException
    CsomServiceException
    Inherited Members
    PnPException.Error
    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

    Back to top PnP Core SDK
    Generated by DocFX with Material UI
    spacer