Skip to main content

ServerInfoInstrument

A class in Root.Township, ATT.Analytics.Instruments.

Analytics instrument that adds the current server's ID to each event.

Constructors​

MemberWhat it is
ServerInfoInstrument()Creates a ServerInfoInstrument with default values.

Fields​

2 private and internal fields
MemberWhat it is
private const int NoServerIdValue sent when not on a server (-1).
private const string ServerIdKeyProperty key "Server ID".

Methods​

MemberWhat it is
void AppendResult(IAnalyticsData data)Adds a "Server ID" property: the joined server's identifier, or -1.