PointCardRW.TracksToRead Property
Contains the tracks to read from the Point Card.
Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)
Usage
'Usage
Dim pointCardRW1 As PointCardRW
Dim returnValue As PointCardRWTracks
returnValue = pointCardRW1.TracksToRead
Dim sampleValue As PointCardRWTracks
pointCardRW1.TracksToRead = sampleValue
Syntax
'Declaration
Public MustOverride Property TracksToRead() As PointCardRWTracks
public abstract PointCardRWTracks TracksToRead {get; set;}
public: property virtual PointCardRWTracks^ TracksToRead{
PointCardRWTracks^ get();
Void set(PointCardRWTracks^);
}
public abstract PointCardRWTracks get_TracksToRead();
public abstract void set_TracksToRead(PointCardRWTracks);
public abstract function get TracksToRead() : PointCardRWTracks;
public abstract function set TracksToRead(PointCardRWTracks);
Remarks
It contains a bit-wise OR of the constants Track1 through Track6. It can contain only values that are marked as allowable by the CapTracksToRead property. For example, to read tracks 1, 2, and 3, TracksToRead is set to Track1 | Track2 | Track3.
TracksToRead is typically initialized by the service object to the default track to read for the Point Card. It should then be kept current by the service object.
When TracksToRead is accessed it can throw the following exception:
Value |
Meaning |
Busy |
This operation cannot be performed because asynchronous output is in progress. |
Illegal |
An illegal track is defined. The track is not available for writing. Refer to CapTracksToRead. |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000
Target Platforms
See Also
Reference
PointCardRW Class
PointCardRW Members
Microsoft.PointOfService Namespace
CapTracksToRead