Condividi tramite


EventTelemetry Constructors

Definition

Overloads

EventTelemetry()

Initializes a new instance of the EventTelemetry class.

EventTelemetry(String)

Initializes a new instance of the EventTelemetry class with the given name.

EventTelemetry()

Initializes a new instance of the EventTelemetry class.

public:
 EventTelemetry();
public EventTelemetry ();
Public Sub New ()

Applies to

EventTelemetry(String)

Initializes a new instance of the EventTelemetry class with the given name.

public:
 EventTelemetry(System::String ^ name);
public EventTelemetry (string name);
new Microsoft.VisualStudio.ApplicationInsights.DataContracts.EventTelemetry : string -> Microsoft.VisualStudio.ApplicationInsights.DataContracts.EventTelemetry
Public Sub New (name As String)

Parameters

name
String

Exceptions

The event name is null or empty string.

Applies to