TaskLoggingHelper.LogTelemetry Method

Definition

Logs telemetry with the specified event name and properties.

C#
public void LogTelemetry(string eventName, System.Collections.Generic.IDictionary<string,string> properties);

Parameters

eventName
String

The event name.

properties
IDictionary<String,String>

The list of properties associated with the event.

Applies to

Product Versions
MSBuild 15, 16, 17
MSBuild (.NET Core) 15, 16, 17