Class MicrosoftGraphError
Microsoft Graph service error
Inherited Members
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
|
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 |