Edit

Share via


Activity.Tags Property

Definition

Gets a collection of key/value pairs that represent information that will be logged along with the Activity to the logging system.

public:
 property System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, System::String ^>> ^ Tags { System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, System::String ^>> ^ get(); };
public System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,string?>> Tags { get; }
public System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,string>> Tags { get; }
member this.Tags : seq<System.Collections.Generic.KeyValuePair<string, string>>
Public ReadOnly Property Tags As IEnumerable(Of KeyValuePair(Of String, String))

Property Value

Information that will be logged along with the Activity to the logging system.

Remarks

The order of the tags in the list matches the order in which they're added to the list.

Applies to

See also