Class FederatedAuthenticationFailureException
Custom exception type thrown when authentication for a user fails due to invalid credentials.
public class FederatedAuthenticationFailureException : Exception, ISerializable
- Inheritance
-
FederatedAuthenticationFailureException
- Implements
- Inherited Members
Constructors
FederatedAuthenticationFailureException(SerializationInfo, StreamingContext)
Constructs a new instance of the FederatedAuthenticationFailureException class with serialized data.
protected FederatedAuthenticationFailureException(SerializationInfo info, StreamingContext context)
Parameters
info
SerializationInfoThe SerializationInfo that holds the serialized object data about the exception being thrown.
context
StreamingContextThe StreamingContext that contains contextual information about the source or destination.
Exceptions
- ArgumentNullException
The
info
parameter is null.- SerializationException
The class name is null or HResult is zero (0).
FederatedAuthenticationFailureException(string)
Initializes a new exception instance.
public FederatedAuthenticationFailureException(string msg)
Parameters
msg
string
FederatedAuthenticationFailureException(string, Exception)
Initializes a new exception instance.
public FederatedAuthenticationFailureException(string msg, Exception inner)