Activity.Baggage Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a collection of key/value pairs that represents information that is passed to children of this Activity.
public:
property System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, System::String ^>> ^ Baggage { System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, System::String ^>> ^ get(); };
public System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,string?>> Baggage { get; }
public System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,string>> Baggage { get; }
member this.Baggage : seq<System.Collections.Generic.KeyValuePair<string, string>>
Public ReadOnly Property Baggage As IEnumerable(Of KeyValuePair(Of String, String))
Property Value
Information that's passed to children of this Activity.
Remarks
Baggage
is serialized when requests leave the process (along with the ID). Typically, Baggage
is used for fine-grained control over logging of the activity and any children. In general, if you are not using the data at runtime, you should be using Tags instead.
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET