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
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기