ThreadPoolOption Enumeration
TOC
Collapse the table of content
Expand the table of content

ThreadPoolOption Enumeration

 

Indicates the thread pool in which the work, submitted by Activity, runs.

Namespace:   System.EnterpriseServices
Assembly:  System.EnterpriseServices (in System.EnterpriseServices.dll)

[SerializableAttribute]
[ComVisibleAttribute(false)]
public enum ThreadPoolOption

Member nameDescription
Inherit

The same type of thread pool apartment as the caller's thread apartment is used.

MTA

A multithreaded apartment (MTA) is used.

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.

ThreadPoolOption is used for the value of ThreadPool.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft