TelemetryService.CreateAndGetDefaultSession 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
CreateAndGetDefaultSession(String) |
Create具有指定参数的新默认会话 |
CreateAndGetDefaultSession(String, String) |
Create具有指定参数的新默认会话 |
CreateAndGetDefaultSession(String, String, String) |
Create具有指定参数的新默认会话 |
CreateAndGetDefaultSession(String)
Create具有指定参数的新默认会话
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
参数
- collectorApiKey
- String
收集器++ 终结点 api-ikey
返回
适用于
CreateAndGetDefaultSession(String, String)
Create具有指定参数的新默认会话
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
参数
- appInsightsIKey
- String
- asimovIKey
- String
返回
适用于
CreateAndGetDefaultSession(String, String, String)
Create具有指定参数的新默认会话
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
参数
- appInsightsIKey
- String
- asimovIKey
- String
- collectorApiKey
- String