다음을 통해 공유


TelemetryClient.TrackTrace Method

Definition

Overloads

TrackTrace(TraceTelemetry)

Send a trace message for display in Diagnostic Search. Create a separate TraceTelemetry instance for each call to TrackTrace(TraceTelemetry).

TrackTrace(String)

Send a trace message for display in Diagnostic Search.

TrackTrace(String, SeverityLevel)

Send a trace message for display in Diagnostic Search.

TrackTrace(String, IDictionary<String,String>)

Send a trace message for display in Diagnostic Search.

TrackTrace(String, SeverityLevel, IDictionary<String,String>)

Send a trace message for display in Diagnostic Search.

TrackTrace(TraceTelemetry)

Send a trace message for display in Diagnostic Search. Create a separate TraceTelemetry instance for each call to TrackTrace(TraceTelemetry).

public void TrackTrace (Microsoft.ApplicationInsights.DataContracts.TraceTelemetry telemetry);
member this.TrackTrace : Microsoft.ApplicationInsights.DataContracts.TraceTelemetry -> unit
Public Sub TrackTrace (telemetry As TraceTelemetry)

Parameters

telemetry
TraceTelemetry

Message with optional properties.

Remarks

Learn more

Applies to

TrackTrace(String)

Send a trace message for display in Diagnostic Search.

public void TrackTrace (string message);
member this.TrackTrace : string -> unit
Public Sub TrackTrace (message As String)

Parameters

message
String

Message to display.

Remarks

Learn more

Applies to

TrackTrace(String, SeverityLevel)

Send a trace message for display in Diagnostic Search.

public void TrackTrace (string message, Microsoft.ApplicationInsights.DataContracts.SeverityLevel severityLevel);
member this.TrackTrace : string * Microsoft.ApplicationInsights.DataContracts.SeverityLevel -> unit
Public Sub TrackTrace (message As String, severityLevel As SeverityLevel)

Parameters

message
String

Message to display.

severityLevel
SeverityLevel

Trace severity level.

Remarks

Learn more

Applies to

TrackTrace(String, IDictionary<String,String>)

Send a trace message for display in Diagnostic Search.

public void TrackTrace (string message, System.Collections.Generic.IDictionary<string,string> properties);
member this.TrackTrace : string * System.Collections.Generic.IDictionary<string, string> -> unit
Public Sub TrackTrace (message As String, properties As IDictionary(Of String, String))

Parameters

message
String

Message to display.

properties
IDictionary<String,String>

Named string values you can use to search and classify events.

Remarks

Learn more

Applies to

TrackTrace(String, SeverityLevel, IDictionary<String,String>)

Send a trace message for display in Diagnostic Search.

public void TrackTrace (string message, Microsoft.ApplicationInsights.DataContracts.SeverityLevel severityLevel, System.Collections.Generic.IDictionary<string,string> properties);
member this.TrackTrace : string * Microsoft.ApplicationInsights.DataContracts.SeverityLevel * System.Collections.Generic.IDictionary<string, string> -> unit
Public Sub TrackTrace (message As String, severityLevel As SeverityLevel, properties As IDictionary(Of String, String))

Parameters

message
String

Message to display.

severityLevel
SeverityLevel

Trace severity level.

properties
IDictionary<String,String>

Named string values you can use to search and classify events.

Remarks

Learn more

Applies to