Search Results for

    Show / Hide Table of Contents

    Class MicrosoftGraphError

    Microsoft Graph service error

    Inheritance
    System.Object
    BaseError
    ServiceError
    MicrosoftGraphError
    Inherited Members
    ServiceError.HttpResponseCode
    ServiceError.Message
    ServiceError.ClientRequestId
    ServiceError.Code
    BaseError.Type
    BaseError.PnPCorrelationId
    BaseError.AdditionalData
    BaseError.AddAdditionalData(String, Object)
    Namespace: PnP.Core
    Assembly: PnP.Core.dll
    Syntax
    public class MicrosoftGraphError : ServiceError

    Constructors

    MicrosoftGraphError(ErrorType, Int32, JsonElement)

    Default constructor for the MicrosoftGraphError error

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

    ErrorType type of the error

    System.Int32 httpResponseCode

    Http response code of the service request that failed

    JsonElement error

    holding the json data of the service error

    MicrosoftGraphError(ErrorType, Int32, String)

    Default constructor for the MicrosoftGraphError error

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

    ErrorType type of the error

    System.Int32 httpResponseCode

    Http response code of the service request that failed

    System.String response

    String holding the information about the failed request

    Methods

    ToString()

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