RegistrationClassContext Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the set of execution contexts in which a class object will be made available for requests to construct instances.
This enumeration supports a bitwise combination of its member values.
public enum class RegistrationClassContext
[System.Flags]
public enum RegistrationClassContext
[<System.Flags>]
type RegistrationClassContext =
Public Enum RegistrationClassContext
- Inheritance
- Attributes
Fields
DisableActivateAsActivator | 32768 | Disables activate-as-activator (AAA) activations for this activation only. |
EnableActivateAsActivator | 65536 | Enables activate-as-activator (AAA) activations for this activation only. |
EnableCodeDownload | 8192 | Allows the downloading of code from the Directory Service or the Internet. |
FromDefaultContext | 131072 | Begin this activation from the default context of the current apartment. |
InProcessHandler | 2 | The code that manages objects of this class is an in-process handler. |
InProcessHandler16 | 32 | Not used. |
InProcessServer | 1 | 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 | 8 | Not used. |
LocalServer | 4 | The EXE code that creates and manages objects of this class runs on same machine but is loaded in a separate process space. |
NoCodeDownload | 1024 | Disallows the downloading of code from the Directory Service or the Internet. |
NoCustomMarshal | 4096 | Specifies whether activation fails if it uses custom marshaling. |
NoFailureLog | 16384 | Overrides the logging of failures. |
RemoteServer | 16 | A remote machine context. |
Reserved1 | 64 | Not used. |
Reserved2 | 128 | Not used. |
Reserved3 | 256 | Not used. |
Reserved4 | 512 | Not used. |
Reserved5 | 2048 | Not used. |
Remarks
The values in the RegistrationClassContext 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.
Applies to
See also
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기