Share via


PointCardRW.OutputId Property (POS for .NET v1.12 SDK Documentation)

2/27/2008

Gets a unique output request ID.

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

Syntax

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

Remarks

When the application calls the PrintWrite method, the point card reader/writer assigns a unique identification number for this request. This ID is stored in the OutputId Property. 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 is complete, an OutputCompleteEvent event is delivered to the application. The OutputId associated with the completed request is passed in the OutputCompleteEvent event.

If the PrintWrite method fails during its processing, an ErrorEvent event 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 OutputCompleteEvent events. The request that failed is the one that was issued immediately after the last request that successfully completed.

OutputId is set and 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.

See Also

Reference

PointCardRW Class
PointCardRW Members
Microsoft.PointOfService Namespace