Op Englesch liesen Editéieren

Deelen iwwer


ActivityLink(ActivityContext, ActivityTagsCollection) Constructor

Definition

Constructs a new activity link, which can be linked to an activity.

C#
public ActivityLink(System.Diagnostics.ActivityContext context, System.Diagnostics.ActivityTagsCollection? tags = default);

Parameters

context
ActivityContext

The trace activity context.

tags
ActivityTagsCollection

The key-value pair list of tags associated to the activity context.

Applies to

Produkt Versiounen
.NET 5, 6, 7, 8 (package-provided), 8, 9 (package-provided), 9, 10 (package-provided), 10
.NET Standard 2.0 (package-provided)