IdentityModelTelemetryUtil.AddTelemetryData(String, String) 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.
Adds a key and its value to the collection of telemetry data.
public static bool AddTelemetryData (string key, string value);
static member AddTelemetryData : string * string -> bool
Public Shared Function AddTelemetryData (key As String, value As String) As Boolean
Parameters
- key
- String
The name of the telemetry.
- value
- String
The value of the telemetry.
Returns
true if the key is successfully added; otherwise, false.