TelemetryEvent Constructors

Definition

Overloads

TelemetryEvent(String)

Creates the new telemetry event instance. You should consider choosing UserTaskEvent, OperationEvent, FaultEvent, AssetEvent, TelemetrySettingProperty or TelemetryMetricProperty These will enable a richer telemetry experience with additional insights provided by Visual Studio Data Model. If your data point doesn't align with any VS Data Model entity, please don't force any association and continue to use this method. If you have any questions regarding VS Data Model, please email VS Data Model Crew (vsdmcrew@microsoft.com).

TelemetryEvent(String, TelemetrySeverity)

Creates the new telemetry event instance with severity information. You should consider choosing UserTaskEvent, OperationEvent, FaultEvent, AssetEvent, TelemetrySettingProperty or TelemetryMetricProperty These will enable a richer telemetry experience with additional insights provided by Visual Studio Data Model. If your data point doesn't align with any VS Data Model entity, please don't force any association and continue to use this method. If you have any questions regarding VS Data Model, please email VS Data Model Crew (vsdmcrew@microsoft.com).

TelemetryEvent(String)

Creates the new telemetry event instance. You should consider choosing UserTaskEvent, OperationEvent, FaultEvent, AssetEvent, TelemetrySettingProperty or TelemetryMetricProperty These will enable a richer telemetry experience with additional insights provided by Visual Studio Data Model. If your data point doesn't align with any VS Data Model entity, please don't force any association and continue to use this method. If you have any questions regarding VS Data Model, please email VS Data Model Crew (vsdmcrew@microsoft.com).

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

Parameters

eventName
String

Event name that is unique, not null and not empty.

Applies to

TelemetryEvent(String, TelemetrySeverity)

Creates the new telemetry event instance with severity information. You should consider choosing UserTaskEvent, OperationEvent, FaultEvent, AssetEvent, TelemetrySettingProperty or TelemetryMetricProperty These will enable a richer telemetry experience with additional insights provided by Visual Studio Data Model. If your data point doesn't align with any VS Data Model entity, please don't force any association and continue to use this method. If you have any questions regarding VS Data Model, please email VS Data Model Crew (vsdmcrew@microsoft.com).

public:
 TelemetryEvent(System::String ^ eventName, Microsoft::VisualStudio::Telemetry::TelemetrySeverity severity);
public TelemetryEvent (string eventName, Microsoft.VisualStudio.Telemetry.TelemetrySeverity severity);
new Microsoft.VisualStudio.Telemetry.TelemetryEvent : string * Microsoft.VisualStudio.Telemetry.TelemetrySeverity -> Microsoft.VisualStudio.Telemetry.TelemetryEvent
Public Sub New (eventName As String, severity As TelemetrySeverity)

Parameters

eventName
String

Event name that is unique, not null and not empty.

severity
TelemetrySeverity

Severity level of the event.

Applies to