IBotTelemetryClientExtensions.TrackDialogView Method

Definition

Log a DialogView using the TrackPageView method on the IBotTelemetryClient if IBotPageViewTelemetryClient has been implemented. Alternatively log the information out 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)

Parameters

telemetryClient
IBotTelemetryClient

The TelemetryClient that implements IBotTelemetryClient.

dialogName
String

The name of the dialog to log the entry / start for.

properties
IDictionary<String,String>

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

metrics
IDictionary<String,Double>

Measurements associated with this event.

Applies to