Edit

Share via


AuthenticationException Class

Definition

Defines the exception to be thrown, when an authentication-related error occurs.

public ref class AuthenticationException : Microsoft::Rtc::Signaling::FailureResponseException
[Serializable]
public class AuthenticationException : Microsoft.Rtc.Signaling.FailureResponseException
type AuthenticationException = class
    inherit FailureResponseException
Public Class AuthenticationException
Inherits FailureResponseException
Inheritance
Attributes
SerializableAttribute

Constructors

AuthenticationException()

Initializes a new instance of the class.

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(String)

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

Properties

DetectionStackTrace

Gets a string representation of the frames on the call stack at the time the current exception was detected. For exceptions that are transferred to application threads, this provides better diagnostic information than the stack where it was thrown.

(Inherited from RealTimeException)
DiagnosticInformation

Gets the DiagnosticHeader representing the diagnostic information received as ms-diagnostics or ms-diagnostics-public header in the response. If message contains both headers then this will represent the ms-diagnostics header information.

(Inherited from FailureResponseException)
ErrorCode

Gets the error code for the authentication failure.

FailureReason

Gets the reason for the authentication failure.

Realm

Gets the realm of the server. Can be null.

ResponseData

Gets the response data. It can be null if the exception is thrown in the case where no response data was received.

(Inherited from FailureResponseException)
SupportedAuthenticationProtocols

Gets the authentication protocols supported by the server.

WarningInformation

Gets the list of warning headers representing the warning information received as warning header in the request.

(Inherited from FailureResponseException)

Methods

GetObjectData(SerializationInfo, StreamingContext)

Populates a SerializationInfo with the data needed to serialize the object.

ToString()

Returns the string representation of AuthenticationException, which also includes SupportedAuthenticationProtocols, Realm, FailureReason, and ErrorCode properties.

Applies to