Activity.IsAllDataRequested 属性

定义

获取或设置一个值,它指示此活动是否该用所有传播信息和其他所有属性(如链接、标记和事件)进行填充。Gets or sets a value that indicates whether this activity should be populated with all the propagation information, as well as all the other properties, such as links, tags, and events.

public:
 property bool IsAllDataRequested { bool get(); void set(bool value); };
public bool IsAllDataRequested { get; set; }
member this.IsAllDataRequested : bool with get, set
Public Property IsAllDataRequested As Boolean

属性值

Boolean

true 如果应填充活动,则为; 否则为。 false 否则为。true if the activity should be populated; false otherwise.

注解

库作者的最佳做法不尝试设置此属性。The best practice for the library authors is not try to set this property. 创建活动时,将自动设置此属性。This property is automatically set when creating the Activity. 只有在使用活动构造函数创建了活动对象并希望重写默认值的情况下,setter 才有用。The setter is useful only in the case of Activity objects created using the Activity constructor and want to override the default value. 使用自动创建的活动对象 StartActivity 会将此属性设置为正确的值。Activity objects created using StartActivity automatically have this property set to the right value.

适用于