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 。