Constructs a CardException with specified status word error code from SW1 and SW2.

Namespace: BasicCard.GenericCards
Assembly: BasicCard (in BasicCard.dll) Version: 2.5.2.0 (2.5.2.0)

Syntax

C#
public CardException(
	byte sw1,
	byte sw2
)
Visual Basic
Public Sub New ( 
	sw1 As Byte,
	sw2 As Byte
)
Visual C++
public:
CardException(
	unsigned char sw1, 
	unsigned char sw2
)
F#
new : 
        sw1 : byte * 
        sw2 : byte -> CardException

Parameters

sw1
Type: System..::..Byte
Status word high byte SW1.
sw2
Type: System..::..Byte
Status word low byte SW2.

See Also