ThreadingType enumeration (activationregistration.h)

Represents the apartment threading model to use for activating an in-process server.

Syntax

typedef enum ThreadingType {
  ThreadingType_BOTH,
  ThreadingType_STA,
  ThreadingType_MTA
} ;

Constants

 
ThreadingType_BOTH
Apartment threading model is MTA and STA.
ThreadingType_STA
Apartment threading model is STA.
ThreadingType_MTA
Apartment threading model is MTA.

Requirements

Requirement Value
Minimum supported client Windows 8.1 [desktop apps only]
Minimum supported server Windows Server 2012 R2 [desktop apps only]
Header activationregistration.h

See also

IActivatableClassRegistration

IDllServerActivatableClassRegistration

RoGetActivatableClassRegistration