Språk

IBotTelemetryClientExtensions.TrackDialogView Metod

Definition

Logga en DialogView med metoden TrackPageView på IBotTelemetryClient om IBotPageViewTelemetryClient har implementerats. Alternativt kan du logga ut informationen via TrackTrace.

public static void TrackDialogView(this Microsoft.Bot.Builder.IBotTelemetryClient telemetryClient, string dialogName, System.Collections.Generic.IDictionary<string,string> properties = default, System.Collections.Generic.IDictionary<string,double> metrics = default);
static member TrackDialogView : Microsoft.Bot.Builder.IBotTelemetryClient * string * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IDictionary<string, double> -> unit
<Extension()>
Public Sub TrackDialogView (telemetryClient As IBotTelemetryClient, dialogName As String, Optional properties As IDictionary(Of String, String) = Nothing, Optional metrics As IDictionary(Of String, Double) = Nothing)

Parametrar

telemetryClient
IBotTelemetryClient

TelemetryClient som implementerar IBotTelemetryClient.

dialogName
String

Namnet på dialogen för att logga posten / starten för.

properties
IDictionary<String,String>

Namngivna strängvärden kan du använda för att söka och klassificera händelser.

metrics
IDictionary<String,Double>

Mätningar kopplade till denna händelse.

Gäller för