Specifies the set of execution contexts in which a class object will be made available for requests to construct instances.
Syntax
[System.Flags]
public enum RegistrationClassContext
Remarks
Members
| Member Name | Description |
|---|
| DisableActivateAsActivator |
Disables activate-as-activator (AAA) activations for this activation only.
|
| EnableActivateAsActivator |
Enables activate-as-activator (AAA) activations for this activation only.
|
| EnableCodeDownload |
Allows the downloading of code from the Directory Service or the Internet.
|
| FromDefaultContext |
Begin this activation from the default context of the current apartment.
|
| InProcessHandler |
The code that manages objects of this class is an in-process handler.
|
| InProcessHandler16 |
Not used.
|
| InProcessServer |
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.
|
| InProcessServer16 |
Not used.
|
| LocalServer |
The EXE code that creates and manages objects of this class runs on same machine but is loaded in a separate process space.
|
| NoCodeDownload |
Disallows the downloading of code from the Directory Service or the Internet.
|
| NoCustomMarshal |
Specifies whether activation fails if it uses custom marshaling.
|
| NoFailureLog |
Overrides the logging of failures.
|
| RemoteServer |
A remote machine context.
|
| Reserved1 |
Not used.
|
| Reserved2 |
Not used.
|
| Reserved3 |
Not used.
|
| Reserved4 |
Not used.
|
| Reserved5 |
Not used.
|
Requirements
Namespace: System.Runtime.InteropServices
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0