Activity.Baggage 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
會獲得一組代表傳遞給子 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 當請求離開程序時(連同 ID 一起)會被序列化。 通常 Baggage 用於對活動及任何子體的細緻記錄控制。 一般來說,如果你在執行時沒有使用資料,那你應該改 Tags 用。