ThreadingModel enumeration

Applies to Windows and Windows Phone

Specifies the threading model.

Syntax


Public Enum ThreadingModel

Attributes

[Version(0x06020000)]

Members

The ThreadingModel enumeration has these members.

MemberValueDescription
STA | stA1

Single-threaded apartment.

MTA | mtA2

Multithreaded apartment.

Both | both3

Both single-threaded and multithreaded apartments.

InvalidThreading | invalidThreading0

No valid threading model applies.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.Foundation.Metadata
Windows::Foundation::Metadata [C++]

Metadata

Windows.winmd

See also

ThreadingAttribute.ThreadingAttribute

 

 

Show:
© 2014 Microsoft