Threading​Model Threading​Model Threading​Model Enum

Definition

Specifies the threading model.

public enum ThreadingModelpublic enum ThreadingModelPublic Enum ThreadingModel
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.FoundationContract (introduced v1)

Fields

Both Both Both

Both single-threaded and multithreaded apartments.

InvalidThreading InvalidThreading InvalidThreading

No valid threading model applies.

MTA MTA MTA

Multithreaded apartment.

STA STA STA

Single-threaded apartment.