Share via


TelemetryService.CreateAndGetDefaultSession Method

Definition

Overloads

CreateAndGetDefaultSession(String)

Create new default session with specified parameters

CreateAndGetDefaultSession(String, String)

Create new default session with specified parameters

CreateAndGetDefaultSession(String, String, String)

Create new default session with specified parameters

CreateAndGetDefaultSession(String)

Create new default session with specified parameters

public static Microsoft.VisualStudio.Telemetry.TelemetrySession CreateAndGetDefaultSession (string collectorApiKey);
static member CreateAndGetDefaultSession : string -> Microsoft.VisualStudio.Telemetry.TelemetrySession
Public Shared Function CreateAndGetDefaultSession (collectorApiKey As String) As TelemetrySession

Parameters

collectorApiKey
String

Collector++ endpoint api-ikey

Returns

Applies to

CreateAndGetDefaultSession(String, String)

Create new default session with specified parameters

public:
 static Microsoft::VisualStudio::Telemetry::TelemetrySession ^ CreateAndGetDefaultSession(System::String ^ appInsightsIKey, System::String ^ asimovIKey);
public static Microsoft.VisualStudio.Telemetry.TelemetrySession CreateAndGetDefaultSession (string appInsightsIKey, string asimovIKey);
static member CreateAndGetDefaultSession : string * string -> Microsoft.VisualStudio.Telemetry.TelemetrySession
Public Shared Function CreateAndGetDefaultSession (appInsightsIKey As String, asimovIKey As String) As TelemetrySession

Parameters

appInsightsIKey
String
asimovIKey
String

Returns

Applies to

CreateAndGetDefaultSession(String, String, String)

Create new default session with specified parameters

public static Microsoft.VisualStudio.Telemetry.TelemetrySession CreateAndGetDefaultSession (string appInsightsIKey, string asimovIKey, string collectorApiKey);
static member CreateAndGetDefaultSession : string * string * string -> Microsoft.VisualStudio.Telemetry.TelemetrySession
Public Shared Function CreateAndGetDefaultSession (appInsightsIKey As String, asimovIKey As String, collectorApiKey As String) As TelemetrySession

Parameters

appInsightsIKey
String
asimovIKey
String
collectorApiKey
String

Returns

Applies to