Exception thrown when OAuth authentication with Ads server fails.
More...
|
| AdsOAuthException (SerializationInfo info, StreamingContext context) |
| Protected constructor. Used by serialization frameworks while deserializing an exception object. More...
|
|
| AdsException () |
| Protected constructor. More...
|
|
| AdsException (string message) |
| Protected constructor. More...
|
|
| AdsException (string message, Exception innerException) |
| Protected constructor. More...
|
|
| AdsException (SerializationInfo info, StreamingContext context) |
| Protected constructor, used by serialization frameworks while deserializing an exception object. More...
|
|
T | GetValue< T > (SerializationInfo info, string fieldName) |
| Gets a specified field from serialization stream. More...
|
|
|
TokenErrorResponse | Error [get, set] |
| Gets the error information, if available. More...
|
|
HttpStatusCode | StatusCode [get, set] |
| Gets the HTTP status code of error, or null if unknown. More...
|
|
Exception thrown when OAuth authentication with Ads server fails.
Google.Api.Ads.Common.Lib.AdsOAuthException.AdsOAuthException |
( |
| ) |
|
|
inline |
Google.Api.Ads.Common.Lib.AdsOAuthException.AdsOAuthException |
( |
string |
message | ) |
|
|
inline |
Public constructor.
- Parameters
-
message | Error message for this API exception. |
Google.Api.Ads.Common.Lib.AdsOAuthException.AdsOAuthException |
( |
string |
message, |
|
|
Exception |
innerException |
|
) |
| |
|
inline |
Public constructor.
- Parameters
-
message | Error message for this API exception. |
innerException | Inner exception, if any. |
Google.Api.Ads.Common.Lib.AdsOAuthException.AdsOAuthException |
( |
string |
message, |
|
|
Exception |
innerException, |
|
|
TokenErrorResponse |
error, |
|
|
HttpStatusCode? |
statusCode |
|
) |
| |
|
inline |
Public constructor.
- Parameters
-
message | Error message for this API exception. |
innerException | Inner exception, if any. |
error | The error details from server. |
statusCode | HTTP status code, if available. |
Google.Api.Ads.Common.Lib.AdsOAuthException.AdsOAuthException |
( |
SerializationInfo |
info, |
|
|
StreamingContext |
context |
|
) |
| |
|
inlineprotected |
override void Google.Api.Ads.Common.Lib.AdsOAuthException.GetObjectData |
( |
SerializationInfo |
info, |
|
|
StreamingContext |
context |
|
) |
| |
|
inline |
This method is called by serialization frameworks while serializing an exception object.
- Parameters
-
info | Info about the serialization context. |
context | A streaming context that represents the serialization stream. |
TokenErrorResponse Google.Api.Ads.Common.Lib.AdsOAuthException.Error |
|
getset |
Gets the error information, if available.
HttpStatusCode Google.Api.Ads.Common.Lib.AdsOAuthException.StatusCode |
|
getset |
Gets the HTTP status code of error, or null if unknown.
The documentation for this class was generated from the following file: