Class AuthenticationServiceNotActiveException
Authentication service is not available exception.
Inheritance
Implements
Inherited Members
Namespace: TcOpen.Inxton.Security
Assembly: TcOpen.Inxton.Abstractions.dll
Syntax
public class AuthenticationServiceNotActiveException : SecurityException, ISerializable, _Exception
Constructors
| Improve this Doc View SourceAuthenticationServiceNotActiveException(SerializationInfo, StreamingContext)
Initializes a new instance of the AuthenticationServiceNotActiveException class with serialized data.
Declaration
protected AuthenticationServiceNotActiveException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | The object that holds the serialized object data. |
System.Runtime.Serialization.StreamingContext | context | The contextual information about the source or destination. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
AuthenticationServiceNotActiveException(String)
Initializes a new instance of the AuthenticationServiceNotActiveException class with a specified error message.
Declaration
public AuthenticationServiceNotActiveException(string message = "Authentication service is not active. You must assign appropriate authentication service.")
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The error message that explains the reason for the exception. |
AuthenticationServiceNotActiveException(String, Exception)
Initializes a new instance of the AuthenticationServiceNotActiveException class with a specified error message and a reference to the inner exception that is the cause of this exception.
Declaration
public AuthenticationServiceNotActiveException(string message, Exception inner)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The error message that explains the reason for the exception. |
System.Exception | inner | The exception that is the cause of the current exception. If the inner parameter is not null, the current exception is raised in a catch block that handles the inner exception. |
AuthenticationServiceNotActiveException(String, Type)
Initializes a new instance of the AuthenticationServiceNotActiveException class with a specified error message and the permission type that caused the exception to be thrown.
Declaration
public AuthenticationServiceNotActiveException(string message, Type type)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The error message that explains the reason for the exception. |
System.Type | type | The type of the permission that caused the exception to be thrown. |
AuthenticationServiceNotActiveException(String, Type, String)
Initializes a new instance of the AuthenticationServiceNotActiveException class with a specified error message, the permission type that caused the exception to be thrown, and the permission state.
Declaration
public AuthenticationServiceNotActiveException(string message, Type type, string state)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The error message that explains the reason for the exception. |
System.Type | type | The type of the permission that caused the exception to be thrown. |
System.String | state | The state of the permission that caused the exception to be thrown. |