Search Results for

    Show / Hide Table of Contents

    Class CsomServiceException

    CSOM Service exception

    Inheritance
    object
    Exception
    PnPException
    ServiceException
    CsomServiceException
    Inherited Members
    PnPException.Error
    Exception.GetBaseException()
    Exception.GetObjectData(SerializationInfo, StreamingContext)
    Exception.GetType()
    Exception.Data
    Exception.HelpLink
    Exception.HResult
    Exception.InnerException
    Exception.Message
    Exception.Source
    Exception.StackTrace
    Exception.TargetSite
    Exception.SerializeObjectState
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: PnP.Core
    Assembly: PnP.Core.dll
    Syntax
    public class CsomServiceException : ServiceException, ISerializable

    Constructors

    CsomServiceException(ErrorType, int, 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

    int 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
    string

    String representation

    Overrides
    Exception.ToString()
    Back to top PnP Core SDK
    Generated by DocFX with Material UI
    spacer