Share via


AuthenticationException Members

Include Protected Members
Include Inherited Members

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

The AuthenticationException type exposes the following members.

Constructors

  Name Description
Public method AuthenticationException() Initializes a new instance of the class.
Public method AuthenticationException(String) Initializes a new instance of the class with a specified error message.
Protected method AuthenticationException(SerializationInfo, StreamingContext) Initializes a new instance of the class with serialized data.
Public method 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.

Top

Properties

  Name Description
Public property Data (inherited from Exception)
Public property 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)
Public property 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)
Public property ErrorCode Gets the error code for the authentication failure.
Public property FailureReason Gets the reason for the authentication failure.
Public property HelpLink (inherited from Exception)
Protected property HResult (inherited from Exception)
Public property InnerException (inherited from Exception)
Public property Message (inherited from Exception)
Public property Realm Gets the realm of the server. Can be null.
Public property 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)
Public property Source (inherited from Exception)
Public property StackTrace (inherited from Exception)
Public property SupportedAuthenticationProtocols Gets the authentication protocols supported by the server.
Public property TargetSite (inherited from Exception)
Public property WarningInformation Gets the list of warning headers representing the warning information received as warning header in the request. (inherited from FailureResponseException)

Top

Methods

  Name Description
Public method Equals (inherited from Object)
Protected method Finalize (inherited from Object)
Public method GetBaseException (inherited from Exception)
Public method GetHashCode (inherited from Object)
Public method GetObjectData Populates a SerializationInfo with the data needed to serialize the object. (Overrides FailureResponseException.GetObjectData(SerializationInfo, StreamingContext).)
Public method GetType (inherited from Exception)
Protected method MemberwiseClone (inherited from Object)
Public method ToString Returns the string representation of AuthenticationException, which also includes SupportedAuthenticationProtocols, Realm, FailureReason, and ErrorCode properties. (Overrides FailureResponseException.ToString().)

Top

See Also

Reference

AuthenticationException Class

Microsoft.Rtc.Signaling Namespace