TelemetryClient.TrackTrace 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.
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
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
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
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
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
Applies to
Azure SDK for .NET