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 |
---|---|---|
System.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. |
System.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 |
---|---|---|
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. |
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 |
---|---|---|
System.Runtime.Serialization.SerializationInfo | serializationInfo | |
System.Runtime.Serialization.StreamingContext | streamingContext |