Class MicrosoftGraphError
Microsoft Graph service error
public class MicrosoftGraphError : ServiceError
- Inheritance
-
MicrosoftGraphError
- Inherited Members
Constructors
MicrosoftGraphError(ErrorType, int, string)
Default constructor for the MicrosoftGraphError error
public MicrosoftGraphError(ErrorType type, int httpResponseCode, string response)
Parameters
typeErrorTypeErrorType type of the error
httpResponseCodeintHttp response code of the service request that failed
responsestringString holding the information about the failed request
MicrosoftGraphError(ErrorType, int, JsonElement)
Default constructor for the MicrosoftGraphError error
public MicrosoftGraphError(ErrorType type, int httpResponseCode, JsonElement error)
Parameters
typeErrorTypeErrorType type of the error
httpResponseCodeintHttp response code of the service request that failed
errorJsonElementJsonElement holding the json data of the service error
Methods
ToString()
Outputs a MicrosoftGraphError to a string representation
public override string ToString()
Returns
- string
String representation