Base class for all exceptions thrown by the library related to an Ads API call.
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...
|
|
Base class for all exceptions thrown by the library related to an Ads API call.
Google.Api.Ads.Common.Lib.AdsException.AdsException |
( |
| ) |
|
|
inlineprotected |
Google.Api.Ads.Common.Lib.AdsException.AdsException |
( |
string |
message | ) |
|
|
inlineprotected |
Protected constructor.
- Parameters
-
message | Error message for this API exception. |
Google.Api.Ads.Common.Lib.AdsException.AdsException |
( |
string |
message, |
|
|
Exception |
innerException |
|
) |
| |
|
inlineprotected |
Protected constructor.
- Parameters
-
message | Error message for this API exception. |
innerException | Inner exception, if any. |
Google.Api.Ads.Common.Lib.AdsException.AdsException |
( |
SerializationInfo |
info, |
|
|
StreamingContext |
context |
|
) |
| |
|
inlineprotected |
Protected constructor, used by serialization frameworks while deserializing an exception object.
- Parameters
-
info | Info about the serialization context. |
context | A streaming context that represents the serialization stream. |
T Google.Api.Ads.Common.Lib.AdsException.GetValue< T > |
( |
SerializationInfo |
info, |
|
|
string |
fieldName |
|
) |
| |
|
inlineprotected |
Gets a specified field from serialization stream.
- Template Parameters
-
- Parameters
-
info | The serialization context. |
fieldName | The serialization field name. |
- Returns
- The deserialized value of field.
The documentation for this class was generated from the following file: