OpenTelemetryScope.AddEvent(ActivityEvent) Method
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.
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.