共用方式為


HttpRuntimeSection.ApartmentThreading 屬性

定義

取得或設定值,表示是否啟用應用程式 Apartment 執行緒。

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

屬性值

Boolean

如果啟用應用程式 Apartment 執行緒則為 true,否則為 false

屬性

備註

預設值是 false

適用於