Activity.TagObjects Property

Definition

Gets the list of tags that represent information to log along with the activity. This information is not passed on to the children of this activity.

C#
public System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,object?>> TagObjects { get; }

Property Value

A key-value pair enumeration of tags and objects.

Applies to

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