Share via


DeviceStatistics.SetStatisticHandlers Method

Definition

Sets the statistic handlers for an existing statistic.

public void SetStatisticHandlers (string statisticName, Microsoft.PointOfService.BaseServiceObjects.GetStatistic getStatistic, Microsoft.PointOfService.BaseServiceObjects.SetStatistic setStatistic);
member this.SetStatisticHandlers : string * Microsoft.PointOfService.BaseServiceObjects.GetStatistic * Microsoft.PointOfService.BaseServiceObjects.SetStatistic -> unit
Public Sub SetStatisticHandlers (statisticName As String, getStatistic As GetStatistic, setStatistic As SetStatistic)

Parameters

statisticName
String

Name of (or constant that refers to) the related statistic to be retrieved or set.

getStatistic
GetStatistic

The handler to be called to get the statistic.

setStatistic
SetStatistic

The handler to be called to set the statistic.

Applies to