DeviceStatistics.SetStatisticHandlers Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.