Share via


PosCommon.Claimed Property (POS for .NET v1.12 SDK Documentation)

2/27/2008

Gets a Boolean value that indicates whether the device is claimed for exclusive access.

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

Syntax

'Declaration
Public MustOverride ReadOnly Property Claimed As Boolean
public abstract bool Claimed { get; }
public:
virtual property bool Claimed {
    bool get () abstract;
}
/** @property */
public abstract boolean get_Claimed ()
public abstract function get Claimed () : boolean

Remarks

If true, the device is claimed for exclusive access. If false, the device is released for sharing with other applications.

Exclusive-use devices must be claimed by using the Claim method before the Service Object allows access to many of its methods and properties, and before the Service Object raises events to the application.

Claimed is initialized to false. State verification occurs in the basic and base classes for each device.

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

PosCommon Class
PosCommon Members
Microsoft.PointOfService Namespace
PosCommon.Claim Method
PosCommon.Release Method