Edit

Share via


AuthenticationException Constructors

Definition

Overloads

AuthenticationException()

Initializes a new instance of the class.

AuthenticationException(String)

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

AuthenticationException(SerializationInfo, StreamingContext)

Initializes a new instance of the class with serialized data.

AuthenticationException(String, Exception)

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

AuthenticationException()

Initializes a new instance of the class.

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

Applies to

AuthenticationException(String)

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

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

Parameters

message
String

The message that describes the error.

Applies to

AuthenticationException(SerializationInfo, StreamingContext)

Initializes a new instance of the class with serialized data.

protected:
 AuthenticationException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected AuthenticationException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.Rtc.Signaling.AuthenticationException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.Rtc.Signaling.AuthenticationException
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

AuthenticationException(String, Exception)

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

public:
 AuthenticationException(System::String ^ message, Exception ^ innerException);
public AuthenticationException (string message, Exception innerException);
new Microsoft.Rtc.Signaling.AuthenticationException : string * Exception -> Microsoft.Rtc.Signaling.AuthenticationException
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.

Applies to