HttpRuntimeSection.ApartmentThreading 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置一个值,该值指示是否启用应用程序单元线程。
public:
property bool ApartmentThreading { bool get(); void set(bool value); };
[System.Configuration.ConfigurationProperty("apartmentThreading", DefaultValue=false)]
public bool ApartmentThreading { get; set; }
[<System.Configuration.ConfigurationProperty("apartmentThreading", DefaultValue=false)>]
member this.ApartmentThreading : bool with get, set
Public Property ApartmentThreading As Boolean
属性值
true 如果启用了应用程序单元线程处理,则为 ;否则,为 false.
- 属性
注解
默认值为 false。