Class PasswordHasherException
Represents an exception which has been created during hashing a password.
Inheritance
Implements
Namespace: Sartorius.SAF.Security
Assembly: Sartorius.SAF.dll
Syntax
[Serializable]
public class PasswordHasherException : Exception, ISerializable
Constructors
View SourcePasswordHasherException()
Create a new instance of PasswordHasherException.
Declaration
public PasswordHasherException()
PasswordHasherException(SerializationInfo, StreamingContext)
Initializes a new instance of the PasswordHasherException class.
Declaration
protected PasswordHasherException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown. |
System.Runtime.Serialization.StreamingContext | context | The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination. |
PasswordHasherException(String)
Create a new instance of PasswordHasherException.
Declaration
public PasswordHasherException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The error message that explains the reason for the exception. |
PasswordHasherException(String, Exception)
Initializes a new instance of the PasswordHasherException class.
Declaration
public PasswordHasherException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The error message that explains the reason for the exception. |
System.Exception | innerException | The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. |