Class AuthenticationFailedException
This exception is thrown when a user authentication failed. Mostly occurs when the authentication token
sent to the server is invalid or expired.
Inheritance
AuthenticationFailedException
Syntax
[Serializable]
[ServiceError(ServiceError.Code.AuthFailed, HttpStatusCode.Unauthorized)]
public class AuthenticationFailedException : ServiceException, ISerializable, _Exception
Constructors
AuthenticationFailedException()
Declaration
public AuthenticationFailedException()
AuthenticationFailedException(SerializationInfo, StreamingContext)
Declaration
protected AuthenticationFailedException(SerializationInfo info, StreamingContext context)
Parameters
AuthenticationFailedException(String)
Declaration
public AuthenticationFailedException(string msg)
Parameters
Type |
Name |
Description |
String |
msg |
|
AuthenticationFailedException(String, Exception)
Declaration
public AuthenticationFailedException(string message, Exception innerException)
Parameters
AuthenticationFailedException(ServiceError)
Declaration
public AuthenticationFailedException(ServiceError error)
Parameters