Share via


PosCommon.RetrieveStatistics Method () (POS for .NET v1.12 SDK Documentation)

2/27/2008

Retrieves all device statistics.

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

Syntax

'Declaration
Public MustOverride Function RetrieveStatistics As String
public abstract string RetrieveStatistics ()
public:
virtual String^ RetrieveStatistics () abstract
public abstract String RetrieveStatistics ()
public abstract function RetrieveStatistics () : String

Remarks

RetrieveStatistics is always executed synchronously.

RetrieveStatistics returns the requested statistics if it is successful. It may throw a PosControlException with the following values:

Value

Meaning

Illegal

The CapStatisticsReporting property is set to false. This indicates that the device does not support statistics reporting.

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