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

The following tables list the members exposed by the AuthenticationException type.

Public Constructors (see also Protected Constructors )

  Name Description
AuthenticationException Overloaded. Initializes a new instance of the class.

Protected Constructors

  Name Description
AuthenticationException Overloaded.  

Public Properties (see also Protected Properties )

  Name Description
Data  (inherited from Exception )
DetectionStackTrace  Gets a string representation of the call stack at the time of the current exception.(inherited from RealTimeException)
DiagnosticInformation  Gets the DiagnosticHeader in the response.(inherited from FailureResponseException)
ErrorCode Gets the error code for the authentication failure.
FailureReason Gets the reason for the authentication failure.
HelpLink  (inherited from Exception )
InnerException  (inherited from Exception )
Message  (inherited from Exception )
Realm Gets the realm of the server.
ResponseData  Gets the response data. (inherited from FailureResponseException)
Source  (inherited from Exception )
StackTrace  (inherited from Exception )
SupportedAuthenticationProtocols Gets the authentication protocols supported by the server.
TargetSite  (inherited from Exception )

Protected Properties

  Name Description
HResult  (inherited from Exception )

Public Methods (see also Protected Methods )

  Name Description
Equals  Overloaded. (inherited from Object )
GetBaseException  (inherited from Exception )
GetHashCode  (inherited from Object )
GetObjectData Overridden. Populates a SerializationInfo with the data needed to serialize the object.
GetType  (inherited from Exception )
ReferenceEquals  (inherited from Object )
ToString Overridden. Returns the string representation of AuthenticationException.

Protected Methods

  Name Description
Finalize  (inherited from Object )
MemberwiseClone  (inherited from Object )

See Also