Share via


TelemetrySession(String) Constructor

Definition

Creates a new telemetry session based on a serialized string of a TelemetrySessionSettings instance. Use the SerializeSettings method of an instance of TelemetrySession to get such a string. This enables a process to post events to a telemetry session from another process. Use VSTelemetryService.DefaultSession to access the application session.

public:
 TelemetrySession(System::String ^ serializedSession);
public TelemetrySession (string serializedSession);
new Microsoft.VisualStudio.Telemetry.TelemetrySession : string -> Microsoft.VisualStudio.Telemetry.TelemetrySession
Public Sub New (serializedSession As String)

Parameters

serializedSession
String

Applies to