Tag Struct

Definition

Represents a name and value pair to provide metadata about an operation being measured.

C#
public readonly struct Tag
Inheritance

Constructors

Tag(String, String)

Initializes a new instance of the Tag struct.

Properties

Name

Gets the name of the tag.

Value

Gets the value of the tag.

Applies to

Product Versions
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)