ThreadPoolOption Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates the thread pool in which the work, submitted by Activity, runs.
public enum class ThreadPoolOption
[System.Runtime.InteropServices.ComVisible(false)]
[System.Serializable]
public enum ThreadPoolOption
[<System.Runtime.InteropServices.ComVisible(false)>]
[<System.Serializable>]
type ThreadPoolOption =
Public Enum ThreadPoolOption
- Inheritance
- Attributes
Fields
Inherit | 1 | The same type of thread pool apartment as the caller's thread apartment is used. |
MTA | 3 | A multithreaded apartment (MTA) is used. |
None | 0 | 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 | 2 | A single-threaded apartment (STA) is used. |
Remarks
ThreadPoolOption is used for the value of ThreadPool.
Applies to
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για