Search Results for

    Show / Hide Table of Contents

    Class MicrosoftGraphServiceException

    Microsoft Graph Service exception

    Inheritance
    object
    Exception
    PnPException
    ServiceException
    MicrosoftGraphServiceException
    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 MicrosoftGraphServiceException : ServiceException, ISerializable

    Constructors

    MicrosoftGraphServiceException(ErrorType, int, string)

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

    Declaration
    public MicrosoftGraphServiceException(ErrorType type, int httpResponseCode, string response)
    Parameters
    ErrorType type

    Type of the error

    int httpResponseCode

    Http response code of the executed Graph request

    string response

    Response of the executed Graph request

    MicrosoftGraphServiceException(ErrorType, int, JsonElement)

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

    Declaration
    public MicrosoftGraphServiceException(ErrorType type, int httpResponseCode, JsonElement error)
    Parameters
    ErrorType type

    Type of the error

    int httpResponseCode

    Http response code of the executed Graph request

    JsonElement error

    Json error coming from the executed Graph request

    Methods

    ToString()

    Outputs a MicrosoftGraphServiceException 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