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(String, IDictionary<String,String>) |
Send a trace message for display in Diagnostic Search. |
TrackTrace(TraceTelemetry) |
Send a trace message for display in Diagnostic Search. |
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, SeverityLevel, IDictionary<String,String>) |
Send a trace message for display in Diagnostic Search. |
TrackTrace(String, IDictionary<String,String>)
Send a trace message for display in Diagnostic Search.
public:
void TrackTrace(System::String ^ message, System::Collections::Generic::IDictionary<System::String ^, System::String ^> ^ properties);
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.
Applies to
TrackTrace(TraceTelemetry)
Send a trace message for display in Diagnostic Search.
public:
void TrackTrace(Microsoft::VisualStudio::ApplicationInsights::DataContracts::TraceTelemetry ^ telemetry);
public void TrackTrace (Microsoft.VisualStudio.ApplicationInsights.DataContracts.TraceTelemetry telemetry);
member this.TrackTrace : Microsoft.VisualStudio.ApplicationInsights.DataContracts.TraceTelemetry -> unit
Public Sub TrackTrace (telemetry As TraceTelemetry)
Parameters
- telemetry
- TraceTelemetry
Message with optional properties.
Applies to
TrackTrace(String)
Send a trace message for display in Diagnostic Search.
public:
void TrackTrace(System::String ^ message);
public void TrackTrace (string message);
member this.TrackTrace : string -> unit
Public Sub TrackTrace (message As String)
Parameters
- message
- String
Message to display.
Applies to
TrackTrace(String, SeverityLevel)
Send a trace message for display in Diagnostic Search.
public:
void TrackTrace(System::String ^ message, Microsoft::VisualStudio::ApplicationInsights::DataContracts::SeverityLevel severityLevel);
public void TrackTrace (string message, Microsoft.VisualStudio.ApplicationInsights.DataContracts.SeverityLevel severityLevel);
member this.TrackTrace : string * Microsoft.VisualStudio.ApplicationInsights.DataContracts.SeverityLevel -> unit
Public Sub TrackTrace (message As String, severityLevel As SeverityLevel)
Parameters
- message
- String
Message to display.
- severityLevel
- SeverityLevel
Trace severity level.
Applies to
TrackTrace(String, SeverityLevel, IDictionary<String,String>)
Send a trace message for display in Diagnostic Search.
public:
void TrackTrace(System::String ^ message, Microsoft::VisualStudio::ApplicationInsights::DataContracts::SeverityLevel severityLevel, System::Collections::Generic::IDictionary<System::String ^, System::String ^> ^ properties);
public void TrackTrace (string message, Microsoft.VisualStudio.ApplicationInsights.DataContracts.SeverityLevel severityLevel, System.Collections.Generic.IDictionary<string,string> properties);
member this.TrackTrace : string * Microsoft.VisualStudio.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.