Share via


DeviceStatistics.ResetStatistic Method (POS for .NET v1.12 SDK Documentation)

2/27/2008

Resets the specified statistic to zero.

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

Syntax

'Declaration
Public Sub ResetStatistic ( _
    statistic As String _
)
public void ResetStatistic (
    string statistic
)
public:
void ResetStatistic (
    String^ statistic
)
public void ResetStatistic (
    String statistic
)
public function ResetStatistic (
    statistic : String
)

Parameters

  • statistic
    Specifies the statistic that is to be reset.

Remarks

If the service object needs to maintain hardware-based statistics, provide that information to the application, and allow the application to reset those statistics, it should use SetStatisticHandlers to specify handlers that can be used by POS for .NET for this purpose.

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

DeviceStatistics Class
DeviceStatistics Members
Microsoft.PointOfService.BaseServiceObjects Namespace
PosCommon.ResetStatistic Method