public class GoogleApiException : Exception, ISerializable
Represents an exception thrown by an API Service.
Implements
ISerializableNamespace
GoogleAssembly
Google.Apis.Core.dll
Constructors
GoogleApiException(String, String)
public GoogleApiException(string serviceName, string message)
Creates an API Service exception.
GoogleApiException(String, String, Exception)
public GoogleApiException(string serviceName, string message, Exception inner)
Creates an API Service exception.
Properties
Error
public RequestError Error { get; set; }
The Error which was returned from the server, or null
if unavailable.
HttpStatusCode
public HttpStatusCode HttpStatusCode { get; set; }
The HTTP status code which was returned along with this error, or 0 if unavailable.
ServiceName
public string ServiceName { get; }
Gets the service name which related to this exception.
Methods
ToString()
public override string ToString()
Returns a summary of this exception.

