TelemetrySession(String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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