Specifies the set of execution contexts in which a class object will be made available for requests to construct instances.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Assembly: mscorlib (in mscorlib.dll)
|Disables activate-as-activator (AAA) activations for this activation only.|
|Enables activate-as-activator (AAA) activations for this activation only.|
|Allows the downloading of code from the Directory Service or the Internet.|
|Begin this activation from the default context of the current apartment.|
|The code that manages objects of this class is an in-process handler.|
|The code that creates and manages objects of this class is a DLL that runs in the same process as the caller of the function specifying the class context.|
|The EXE code that creates and manages objects of this class runs on same machine but is loaded in a separate process space.|
|Disallows the downloading of code from the Directory Service or the Internet.|
|Specifies whether activation fails if it uses custom marshaling.|
|Overrides the logging of failures.|
|A remote machine context.|
The values in the enumeration are used in the classContext parameter of the RegisterTypeForComClients method. These values are the same as those defined in the COM CLSCTX enumeration, which is used as the dwClsContext parameter in calls to the COM API CoRegisterClassObject.
For more information about CoRegisterClassObject and the CLSCTX enumeration, see the MSDN library.
Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.