Class
GoogleWorkspaceApiException
OfficeIMO.GoogleWorkspace
Typed failure returned for a non-success Google API response.
Inheritance
- HttpRequestException
- GoogleWorkspaceApiException
Inherited Methods
public virtual void GetObjectData(SerializationInfo info, StreamingContext context) #Inherited from Exception
Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}") EditorBrowsable(1)Parameters
- info SerializationInfo
- context StreamingContext
Properties
public string ServiceName { get; } #Gets the logical Google service that issued the request.
public HttpMethod Method { get; } #Gets the HTTP method used for the failed request.
public string RequestUri { get; } #Gets the sanitized request target used for diagnostics.
public HttpStatusCode ResponseStatusCode { get; } #Gets the non-success HTTP status code.
public string ResponseBody { get; } #Gets the bounded response body returned with the error.
Inherited Properties
public HttpRequestError HttpRequestError { get; } #Inherited from HttpRequestException
public HttpStatusCode? StatusCode { get; } #Inherited from HttpRequestException
public MethodBase? TargetSite { get; } #Inherited from Exception
public virtual string Message { get; } #Inherited from Exception
public virtual IDictionary Data { get; } #Inherited from Exception
public Exception? InnerException { get; } #Inherited from Exception
public virtual string? HelpLink { get; set; } #Inherited from Exception
public virtual string? Source { get; set; } #Inherited from Exception
public int HResult { get; set; } #Inherited from Exception
public virtual string? StackTrace { get; } #Inherited from Exception