Fido2Exception Constructor
Fido2Exception()
Initializes a new instance of the Fido2Exception class.
C#
public Fido2Exception()
Fido2Exception(string)
Initializes a new instance of the Fido2Exception class.
C#
public Fido2Exception(string message)
Parameters
Type | Name | Description |
---|---|---|
string | message | The message that describes the error. |
Fido2Exception(CtapStatus, string)
Initializes a new instance of the Fido2Exception class.
C#
public Fido2Exception(CtapStatus status, string message)
Parameters
Type | Name | Description |
---|---|---|
CtapStatus | status | The CTAP error. |
string | message | The message that describes the error. |
Fido2Exception(string, Exception)
Initializes a new instance of the Fido2Exception class.
C#
public Fido2Exception(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
string | message | The error message that explains the reason for the exception. |
Exception | innerException | The exception that is the cause of the current exception. |
Fido2Exception(CtapStatus)
Initializes a new instance of the Fido2Exception class, and sets an appropriate message.
C#
public Fido2Exception(CtapStatus status)
Parameters
Type | Name | Description |
---|---|---|
CtapStatus | status | The error status returned by the authenticator. |
Fido2Exception(SerializationInfo, StreamingContext)
C#
protected Fido2Exception(SerializationInfo serializationInfo, StreamingContext streamingContext)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | serializationInfo | |
StreamingContext | streamingContext |