Language

OpenTelemetryScope.AddEvent(ActivityEvent) Method

Definition

Adds an event to the current activity.

protected void AddEvent(System.Diagnostics.ActivityEvent activityEvent);
member this.AddEvent : System.Diagnostics.ActivityEvent -> unit
Protected Sub AddEvent (activityEvent As ActivityEvent)

Parameters

activityEvent
ActivityEvent

The event to add.

Applies to