Share via


Cat.OutputId Property

Contains the identifier of the most recently started asynchronous output.

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

Usage

'Usage
Dim cat1 As Cat

Dim returnValue As Integer
returnValue = cat1.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 a method successfully initiates an asynchronous output, the device assigns an identifier to the request. When the output completes, an OutputCompleteEvent is queued with this output ID as a parameter.

The output ID numbers are assigned by POS for .NET and are guaranteed to be unique among the set of outstanding asynchronous outputs. No other facts about the ID should be assumed.

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

Cat Class
Cat Members
Microsoft.PointOfService Namespace
OutputCompleteEvent