Edit

Share via


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.

public:
 FailureResponseException();
public FailureResponseException ();
Public Sub New ()

Applies to

FailureResponseException(String)

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

public:
 FailureResponseException(System::String ^ message);
public FailureResponseException (string message);
new Microsoft.Rtc.Signaling.FailureResponseException : string -> Microsoft.Rtc.Signaling.FailureResponseException
Public Sub New (message As String)

Parameters

message
String

The message that describes the error.

Applies to

FailureResponseException(SerializationInfo, StreamingContext)

Initializes a new instance of the class with serialized data.

protected:
 FailureResponseException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected FailureResponseException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.Rtc.Signaling.FailureResponseException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.Rtc.Signaling.FailureResponseException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

The object that holds the serialized object data.

context
StreamingContext

The contextual information about the source or destination.

Applies to

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.

public:
 FailureResponseException(System::String ^ message, Exception ^ innerException);
public FailureResponseException (string message, Exception innerException);
new Microsoft.Rtc.Signaling.FailureResponseException : string * Exception -> Microsoft.Rtc.Signaling.FailureResponseException
Public Sub New (message As String, innerException As Exception)

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