Ads API .NET library
|
Custom exception class for wrapping DFP API SOAP exceptions. More...
Public Member Functions | |
AdManagerApiException () | |
Public constructor. More... | |
AdManagerApiException (object apiException) | |
Public constructor. More... | |
AdManagerApiException (object apiException, string message) | |
Public constructor. More... | |
AdManagerApiException (object apiException, string message, Exception innerException) | |
Public constructor. More... | |
override void | GetObjectData (SerializationInfo info, StreamingContext context) |
This method is called by serialization frameworks while serializing an exception object. More... | |
![]() | |
AdManagerException () | |
Public constructor. More... | |
AdManagerException (string message) | |
Public constructor. More... | |
AdManagerException (string message, Exception innerException) | |
Public constructor. More... | |
Protected Member Functions | |
AdManagerApiException (SerializationInfo info, StreamingContext context) | |
Protected constructor. Used by serialization frameworks while deserializing an exception object. More... | |
![]() | |
AdManagerException (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... | |
Properties | |
object | ApiException [get] |
Gets the ApiException object. More... | |
override string | Message [get] |
Gets a message that describes the current exception. More... | |
Custom exception class for wrapping DFP API SOAP exceptions.
|
inline |
Public constructor.
|
inline |
Public constructor.
apiException | The underlying ApiException from the server. |
|
inline |
Public constructor.
apiException | The underlying ApiException from the server. |
message | Error message for this API exception. |
|
inline |
Public constructor.
apiException | The underlying ApiException from the server. |
message | Error message for this API exception. |
innerException | Inner exception, if any. |
|
inlineprotected |
Protected constructor. Used by serialization frameworks while deserializing an exception object.
info | Info about the serialization context. |
context | A streaming context that represents the serialization stream. |
|
inline |
This method is called by serialization frameworks while serializing an exception object.
info | Info about the serialization context. |
context | A streaming context that represents the serialization stream. |
|
get |
Gets the ApiException object.
|
get |
Gets a message that describes the current exception.