EventTelemetry Constructors
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.
Overloads
EventTelemetry() |
Initializes a new instance of the EventTelemetry class. |
EventTelemetry(String) |
Initializes a new instance of the EventTelemetry class with the given |
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.