PosCommon.ResetStatistic Method
2/27/2008
Resets the specified statistic to 0 (zero).
Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)
Syntax
'Declaration
Public MustOverride Sub ResetStatistic ( _
statistic As String _
)
public abstract void ResetStatistic (
string statistic
)
public:
virtual void ResetStatistic (
String^ statistic
) abstract
public abstract void ResetStatistic (
String statistic
)
public abstract function ResetStatistic (
statistic : String
)
Parameters
- statistic
Specifies the statistic that is to be reset.
Remarks
For ResetStatistic to be successful, both the CapStatisticsReporting and CapUpdateStatistics properties must be set to true.
ResetStatistic is always executed synchronously.
ResetStatistic may throw a PosControlException with the following values:
Value |
Meaning |
Illegal |
One of the following conditions has occurred:
|
Extended |
ExtendedErrorStatistics. An error occurred while it tried to reset the specified statistic. |
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
CapStatisticsReporting
CapUpdateStatistics