HostProtectionAttribute.SelfAffectingThreading 属性

定义

获取或设置一个值,该值指示是否公开自我影响线程处理。

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

属性值

true 如果公开了自我影响线程处理,则为 ;否则,为 false. 默认值为 false

注解

自我影响线程处理以仅影响用户代码的方式操作线程。

适用于

另请参阅