HttpRuntimeSection::ApartmentThreading Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets a value that indicates whether application apartment threading is enabled.

Namespace:   System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

[ConfigurationPropertyAttribute("apartmentThreading", DefaultValue = false)]
property bool ApartmentThreading {
	bool get();
	void set(bool value);

Property Value

Type: System::Boolean

true if application apartment threading is enabled; otherwise, false.

The default value is false.

.NET Framework
Available since 2.0
Return to top