Share via


PosCommon.Claimed Property

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

Usage

'Usage
Dim posCommon1 As PosCommon

Dim returnValue As Boolean
returnValue = posCommon1.Claimed

Syntax

'Declaration
Public MustOverride ReadOnly Property Claimed() As Boolean
public abstract bool Claimed {get;}
public: property virtual Boolean Claimed{
    Boolean get();
}
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. The device must be opened before this property can be read.

Exclusive use devices must be claimed using the Claim method before the service object will allow access to many of its methods and properties, and before the service object will fire events to the application.

Claimed is initialized to FALSE. State verification takes place 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.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000

Target Platforms

See Also

Reference

PosCommon Class
PosCommon Members
Microsoft.PointOfService Namespace
Claim
Release