Share via


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

2/27/2008

Gets the Service Object version number.

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

Syntax

'Declaration
Public Overridable ReadOnly Property ServiceObjectVersion As Version
public virtual Version ServiceObjectVersion { get; }
public:
virtual property Version^ ServiceObjectVersion {
    Version^ get ();
}
/** @property */
public Version get_ServiceObjectVersion ()
public function get ServiceObjectVersion () : Version

Remarks

Version numbers consist of two to four integers, Major, Minor, Build, and Revision. Build and Revision are optional, but Revision is optional only if Build is not specified. The Major and Minor version numbers should be set to the UPOS version that the Service Object implements. Build and Revision can be set to the internal version of the Service Object and should be incremented when corrections are made to the implementation. For information about the structures and methods of the Version class, see the "Version Class" of the .NET Framework Class Library.

ServiceObjectVersion is initialized by the Open method. 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