PosCommon.Close Method
Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)
Usage
'Usage
Dim posCommon1 As PosCommon
posCommon1.Close()
Syntax
'Declaration
Public MustOverride Sub Close()
public abstract void Close();
public: abstract Void Close();
public abstract void Close();
public abstract function Close() : Void;
Remarks
The application calls Close to release the device and its resources. POS for .NET releases the service object, shuts down statistics reporting, and stops all event threads.
If the DeviceEnabled property is set to TRUE, then POS for .NET will disable the device. If the Claimed property is set to TRUE, then POS for .NET will release the device.
Close returns void if successful, and it can throw the following exception:
Value |
Meaning |
Closed |
The device is already closed. |
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
Open