This documentation is archived and is not being maintained.
ThreadPoolOption Enumeration
.NET Framework 1.1
Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.
Indicates the thread pool in which the work, submitted by Activity, runs.
[Visual Basic] <Serializable> <ComVisible(False)> Public Enum ThreadPoolOption [C#] [Serializable] [ComVisible(false)] public enum ThreadPoolOption [C++] [Serializable] [ComVisible(false)] __value public enum ThreadPoolOption [JScript] public Serializable ComVisible(false) enum ThreadPoolOption
Remarks
ThreadPoolOption is used for the value of ThreadPool.
Members
| Member name | Description |
|---|---|
| Inherit | The same type of thread pool apartment as the caller's thread apartment is used. Inherit is the default thread pool setting for ThreadPool when Inheritance is set to Inherit. |
| MTA | A multithreaded apartment (MTA) is used. MTA is the default thread pool setting for ThreadPool when Inheritance is set to Ignore. |
| None | No thread pool is used. If this value is used to configure a ServiceConfig that is passed to an Activity, an exception is thrown. |
| STA | A single-threaded apartment (STA) is used. |
Requirements
Namespace: System.EnterpriseServices
Platforms: Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: System.Enterpriseservices (in System.Enterpriseservices.dll)
See Also
Show: