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 Microsoft
Declaration
public MicrosoftGraphServiceException(ErrorType type, int httpResponseCode, JsonElement error)
Parameters
Error Type of the error |
System. Http response code of the executed Graph request |
Json Json error coming from the executed Graph request |
MicrosoftGraphServiceException(ErrorType, Int32, String)
Creates a Microsoft
Declaration
public MicrosoftGraphServiceException(ErrorType type, int httpResponseCode, string response)
Parameters
Error Type of the error |
System. Http response code of the executed Graph request |
System. Response of the executed Graph request |
Methods
ToString()
Outputs a Microsoft
Declaration
public override string ToString()
Returns
System. String representation |