Partager via


TelemetryEvent.CorrelateWithDescription Method

Definition

Correlate this event with other event via TelemetryEventCorrelation with description information.

protected:
 void CorrelateWithDescription(Microsoft::VisualStudio::Telemetry::TelemetryEventCorrelation correlation, System::String ^ description);
protected void CorrelateWithDescription (Microsoft.VisualStudio.Telemetry.TelemetryEventCorrelation correlation, string description);
member this.CorrelateWithDescription : Microsoft.VisualStudio.Telemetry.TelemetryEventCorrelation * string -> unit
Protected Sub CorrelateWithDescription (correlation As TelemetryEventCorrelation, description As String)

Parameters

correlation
TelemetryEventCorrelation

The property Correlation of correlated event.

description
String

A description string for this correlation information, such as name, hint, tag, category. Please don't include comma which is a reserved char. It could be null or empty string.

Remarks

This method is not thread-safe.

Applies to