FailureResponseException Constructors

Definition

Overloads

FailureResponseException()

Initializes a new instance of the FailureResponseException class.

FailureResponseException(String)

Initializes a new instance of the FailureResponseException class with a specified error message.

FailureResponseException(SerializationInfo, StreamingContext)

Initializes a new instance of the class with serialized data.

FailureResponseException(String, Exception)

Initializes a new instance of the FailureResponseException class with a specified error message and reference to the inner exception that is the cause of this exception.

FailureResponseException()

Initializes a new instance of the FailureResponseException class.

C#
public FailureResponseException ();

Applies to

Lync UCMA latest and other versions
Product Versions
Lync UCMA 4.0, 5.0, latest

FailureResponseException(String)

Initializes a new instance of the FailureResponseException class with a specified error message.

C#
public FailureResponseException (string message);

Parameters

message
String

The message that describes the error.

Applies to

Lync UCMA latest and other versions
Product Versions
Lync UCMA 4.0, 5.0, latest

FailureResponseException(SerializationInfo, StreamingContext)

Initializes a new instance of the class with serialized data.

C#
protected FailureResponseException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);

Parameters

info
SerializationInfo

The object that holds the serialized object data.

context
StreamingContext

The contextual information about the source or destination.

Applies to

Lync UCMA latest and other versions
Product Versions
Lync UCMA 4.0, 5.0, latest

FailureResponseException(String, Exception)

Initializes a new instance of the FailureResponseException class with a specified error message and reference to the inner exception that is the cause of this exception.

C#
public FailureResponseException (string message, Exception innerException);

Parameters

message
String

The message that describes the error.

innerException
Exception

The exception that is the cause of the current exception. If innerException is FailureResponseException, then ResponseData from innerException will become the responseData for this Exception.

Applies to

Lync UCMA latest and other versions
Product Versions
Lync UCMA 4.0, 5.0, latest