Share via


MsrBase.FailedRead Method

Definition

Overloads

FailedRead(Byte[], Byte[], Byte[], Byte[], CardType, ErrorCode, Int32)

Called by the service object when an error occurs while the MSR device is attempting to read card data.

FailedRead(Byte[], Byte[], Byte[], Byte[], CardType, ErrorCode, Int32, Byte[])
FailedRead(Byte[], Byte[], Byte[], Byte[], CardType, ErrorCode, Int32, Byte[], Byte[], Int32)

FailedRead(Byte[], Byte[], Byte[], Byte[], CardType, ErrorCode, Int32)

Called by the service object when an error occurs while the MSR device is attempting to read card data.

protected void FailedRead (byte[] track1Data, byte[] track2Data, byte[] track3Data, byte[] track4Data, Microsoft.PointOfService.BaseServiceObjects.CardType cardType, Microsoft.PointOfService.ErrorCode errorCode, int extendedErrorCode);
member this.FailedRead : byte[] * byte[] * byte[] * byte[] * Microsoft.PointOfService.BaseServiceObjects.CardType * Microsoft.PointOfService.ErrorCode * int -> unit
Protected Sub FailedRead (track1Data As Byte(), track2Data As Byte(), track3Data As Byte(), track4Data As Byte(), cardType As CardType, errorCode As ErrorCode, extendedErrorCode As Integer)

Parameters

track1Data
Byte[]

Contains the data read for Track1.

track2Data
Byte[]

Contains the data read for Track2.

track3Data
Byte[]

Contains the data read for Track3.

track4Data
Byte[]

Contains the data read for Track4.

cardType
CardType

Contains the type of card swiped, as defined by the CardType enumeration.

errorCode
ErrorCode

Contains the error reporting code, as defined by the ErrorCode enumeration.

extendedErrorCode
Int32

Contains one of the ExtendedError~ constants that describes the type of card read error.

Applies to

FailedRead(Byte[], Byte[], Byte[], Byte[], CardType, ErrorCode, Int32, Byte[])

protected void FailedRead (byte[] track1Data, byte[] track2Data, byte[] track3Data, byte[] track4Data, Microsoft.PointOfService.BaseServiceObjects.CardType cardType, Microsoft.PointOfService.ErrorCode errorCode, int extendedErrorCode, byte[] additionalSecurityInformation);
member this.FailedRead : byte[] * byte[] * byte[] * byte[] * Microsoft.PointOfService.BaseServiceObjects.CardType * Microsoft.PointOfService.ErrorCode * int * byte[] -> unit
Protected Sub FailedRead (track1Data As Byte(), track2Data As Byte(), track3Data As Byte(), track4Data As Byte(), cardType As CardType, errorCode As ErrorCode, extendedErrorCode As Integer, additionalSecurityInformation As Byte())

Parameters

track1Data
Byte[]
track2Data
Byte[]
track3Data
Byte[]
track4Data
Byte[]
cardType
CardType
errorCode
ErrorCode
extendedErrorCode
Int32
additionalSecurityInformation
Byte[]

Applies to

FailedRead(Byte[], Byte[], Byte[], Byte[], CardType, ErrorCode, Int32, Byte[], Byte[], Int32)

protected void FailedRead (byte[] track1Data, byte[] track2Data, byte[] track3Data, byte[] track4Data, Microsoft.PointOfService.BaseServiceObjects.CardType cardType, Microsoft.PointOfService.ErrorCode errorCode, int extendedErrorCode, byte[] additionalSecurityInformation, byte[] cardAuthenticationData, int cardAuthenticationDataLength);
member this.FailedRead : byte[] * byte[] * byte[] * byte[] * Microsoft.PointOfService.BaseServiceObjects.CardType * Microsoft.PointOfService.ErrorCode * int * byte[] * byte[] * int -> unit
Protected Sub FailedRead (track1Data As Byte(), track2Data As Byte(), track3Data As Byte(), track4Data As Byte(), cardType As CardType, errorCode As ErrorCode, extendedErrorCode As Integer, additionalSecurityInformation As Byte(), cardAuthenticationData As Byte(), cardAuthenticationDataLength As Integer)

Parameters

track1Data
Byte[]
track2Data
Byte[]
track3Data
Byte[]
track4Data
Byte[]
cardType
CardType
errorCode
ErrorCode
extendedErrorCode
Int32
additionalSecurityInformation
Byte[]
cardAuthenticationData
Byte[]
cardAuthenticationDataLength
Int32

Applies to