Table of Contents

Class Ctap2DataException

Namespace
Yubico.YubiKey.Fido2
Assembly
Yubico.YubiKey.dll

Exception that represents invalid or missing data passed to a CTAP2 command.

[Serializable]
public class Ctap2DataException : Fido2Exception
Inheritance
object
Exception
Ctap2DataException
Inherited Members

Constructors

Ctap2DataException()

Initializes a new instance of the Ctap2DataException class.

public Ctap2DataException()

Ctap2DataException(SerializationInfo, StreamingContext)

protected Ctap2DataException(SerializationInfo serializationInfo, StreamingContext streamingContext)

Parameters

serializationInfo SerializationInfo
streamingContext StreamingContext

Ctap2DataException(string)

Initializes a new instance of the Ctap2DataException class.

public Ctap2DataException(string message)

Parameters

message string

The message that describes the error.

Ctap2DataException(string, Exception)

Initializes a new instance of the Ctap2DataException class.

public Ctap2DataException(string message, Exception innerException)

Parameters

message string

The error message that explains the reason for the exception.

innerException Exception

The exception that is the cause of the current exception.

Properties

PropertyName

The name of the property that contained invalid data.

public string? PropertyName { get; set; }

Property Value

string