Activity.Tags Vlastnost

Definice

Získá kolekci párů klíč/hodnota, které představují informace, které budou protokolovány spolu s Activity do systému protokolování.

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))

Hodnota vlastnosti

Informace, které budou protokolovány spolu s do Activity systému protokolování.

Poznámky

V .NET 5 a novějších verzích se pořadí značek v seznamu shoduje s pořadím jejich přidání do seznamu. V předchozích verzích je pořadí obrácené, to znamená, že první přidaná položka je poslední v seznamu.

Platí pro