语言

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 当请求离开进程(以及 ID)时序列化。 通常, Baggage 用于对活动记录和任何子项进行精细控制。 通常,如果不在运行时使用数据,则应改用 Tags 。

适用于