<PackageReference Include="Microsoft.ApplicationInsights" Version="3.0.0-beta1" />

Microsoft.ApplicationInsights.DataContracts.EventTelemetry

Telemetry type used to track custom events. Learn more
public TelemetryContext Context { get; }

Gets the context associated with the current telemetry item.

public string Name { get; set; }

Gets or sets the name of the event.

public IDictionary<string, string> Properties { get; }

Gets a dictionary of application-defined property names and values providing additional information about this event. Learn more

public DateTimeOffset Timestamp { get; set; }

Gets or sets date and time when event was recorded.

public EventTelemetry()

Initializes a new instance of the EventTelemetry class.

public EventTelemetry(string name)

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