Export (0) Print
Expand All

ThreadingType enumeration

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

Syntax


typedef enum _ThreadingType { 
  BOTH  = 0,
  STA   = 1,
  MTA   = 2
} ThreadingType;

Constants

BOTH

Apartment threading model is MTA and STA.

STA

Apartment threading model is STA.

MTA

Apartment threading model is MTA.

Requirements

Minimum supported client

Windows 8.1 [desktop apps only]

Minimum supported server

Windows Server 2012 R2 [desktop apps only]

Header

Activationregistration.h

See also

IDllServerActivatableClassRegistration
IActivatableClassRegistration
RoGetActivatableClassRegistration

 

 

Community Additions

ADD
Show:
© 2014 Microsoft