Activity.Baggage 屬性

定義

取得索引鍵/值組的集合,表示傳遞至此 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))

屬性值

傳遞至這個 Activity之子系的資訊。

備註

Baggage 當要求離開進程 (以及標識碼) 時串行化。 一般而言, Baggage 用於更精細地控制活動記錄和任何子系。 一般而言,如果您未在運行時間使用資料,您應該改用 Tags

適用於