PointCardRW.TracksToWrite Property (POS for .NET v1.12 SDK Documentation)
2/27/2008
Gets or sets the tracks to write to the point card.
Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)
Syntax
'Declaration
Public MustOverride Property TracksToWrite As PointCardRWTracks
public abstract PointCardRWTracks TracksToWrite { get; set; }
public:
virtual property PointCardRWTracks TracksToWrite {
PointCardRWTracks get () abstract;
void set (PointCardRWTracks value) abstract;
}
/** @property */
public abstract PointCardRWTracks get_TracksToWrite ()
/** @property */
public abstract void set_TracksToWrite (PointCardRWTracks value)
public abstract function get TracksToWrite () : PointCardRWTracks
public abstract function set TracksToWrite (value : PointCardRWTracks)
Remarks
Valid values are defined by the PointCardRWTracks enumeration.
It contains a bitwise OR of the constants Track1 through Track6. It can contain only values that the CapTracksToWrite property marked as allowed. For example, to write to tracks 1, 2, and 3, TracksToWrite would be set to Track1 | Track2 | Track3.
TracksToWrite is typically initialized by the service object to the default tracks to write.
Accessing TracksToWrite may throw a PosControlException exception with the following ErrorCodes:
Value |
Meaning |
Busy |
This operation cannot be performed because asynchronous output is in progress. |
Illegal |
An illegal track was defined. The Track is not available for writing. Refer to CapTracksToWrite. |
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.
See Also
Reference
PointCardRW Class
PointCardRW Members
Microsoft.PointOfService Namespace
PointCardRW.CapTracksToWrite Property
PointCardRW.PrintWrite Method