Constructs a CommsException with given status word error code.

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

Syntax

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

Parameters

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

See Also