Class MicrosoftGraphServiceException
Microsoft Graph Service exception
Inherited Members
Namespace: PnP.Core
Assembly: PnP.Core.dll
Syntax
public class MicrosoftGraphServiceException : ServiceException
Constructors
MicrosoftGraphServiceException(ErrorType, Int32, 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 |
System.Int32
httpResponseCode
Http response code of the executed Graph request |
JsonElement
error
Json error coming from the executed Graph request |
MicrosoftGraphServiceException(ErrorType, Int32, 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 |
System.Int32
httpResponseCode
Http response code of the executed Graph request |
System.String
response
Response of the executed Graph request |
Methods
ToString()
Outputs a MicrosoftGraphServiceException to a string representation
Declaration
public override string ToString()
Returns
System.String
String representation |