Share via


PointCardRW.OutputId Property

Contains a unique output request ID.

Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)

Usage

'Usage
Dim pointCardRW1 As PointCardRW

Dim returnValue As Integer
returnValue = pointCardRW1.OutputId

Syntax

'Declaration
Public MustOverride ReadOnly Property OutputId() As Integer
public abstract int OutputId {get;}
public: property virtual Int32 OutputId{
    Int32 get();
}
public abstract int get_OutputId();
public abstract function get OutputId() : int;

Remarks

When the application calls PrintWrite, the Point Card Reader/Writer assigns a unique identification number for this request. This ID is stored in the property OutputId. The Point Card Reader/Writer then either queues the request or starts its processing. Either way, the Point Card Reader/Writer returns to the application quickly.

When the PrintWrite method completes, an OutputCompleteEvent is delivered to the application. The OutputId associated with the completed request is passed in the OutputCompleteEvent.

If the PrintWrite method fails during its processing, an ErrorEvent is delivered to the application. If the application has multiple outstanding output requests, the OutputId of the request that failed can be determined by watching which requests have successfully completed by monitoring OutputCompleteEvents. The request that failed is the one that was issued immediately after the last request that successfully completed.

OutputId is typically initialized to zero. It should then be kept current by the service object while the device is enabled.

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