Share via


MsrProperties Class

2/27/2008

A helper class created by POS for .NET to simplify the retrieval and setting of property values for MSR devices.

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

Syntax

'Declaration
Public Class MsrProperties
    Inherits CommonProperties
public class MsrProperties : CommonProperties
public ref class MsrProperties : public CommonProperties
public class MsrProperties extends CommonProperties
public class MsrProperties extends CommonProperties

Remarks

MsrProperties is a helper class created by POS for .NET to simplify the retrieval and setting of property values for MSR devices. MsrProperties inherits from the CommonProperties class. The protected Properties property of MsrBase class returns an instance of MsrProperties. The service object can manage the value of a property using the syntax Properties.<propertyName>. MsrProperties bypasses state validation—in other words, the service object can use MsrProperties to set values for properties even though the application hasn’t opened, claimed, or enabled the MSR device.

Inheritance Hierarchy

System.Object
   Microsoft.PointOfService.BasicServiceObjects.CommonProperties
    Microsoft.PointOfService.BaseServiceObjects.MsrProperties

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

MsrProperties Members
Microsoft.PointOfService.BaseServiceObjects Namespace