CLSCTX Enumeration

Represents the class context. Used to determine what scope and type of class object to use.

Namespace:  Microsoft.VisualStudio.OLE.Interop
Assembly:  Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)

Syntax

'Declaration
Public Enumeration CLSCTX
public enum CLSCTX
public enum class CLSCTX
type CLSCTX
public enum CLSCTX

Members

Member name Description
CLSCTX_DISABLE_AAA Indicates that activate-as-activator capability is disabled for this activation only.
CLSCTX_ENABLE_AAA Indicates that activate-as-activator capability is enabled for this activation only.
CLSCTX_ENABLE_CODE_DOWNLOAD Indicates that code should be allowed to be downloaded from the Directory Service (if any) or the Internet.
CLSCTX_FROM_DEFAULT_CONTEXT Indicates that activation should begin from the default context of the current apartment.
CLSCTX_INPROC_HANDLER Indicates a handler dll, which runs on the same process as the caller.
CLSCTX_INPROC_HANDLER16 Indicates a 16-bit handler dll, which runs on the same process as the caller.
CLSCTX_INPROC_SERVER 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.
CLSCTX_INPROC_SERVER16 Obsolete.
CLSCTX_LOCAL_SERVER Indicates a server executable, which runs on the same machine but on a different process than the caller.
CLSCTX_NO_CODE_DOWNLOAD Indicates that code should not be allowed to be downloaded from the Directory Service (if any) or the Internet.
CLSCTX_NO_CUSTOM_MARSHAL
CLSCTX_NO_FAILURE_LOG Indicates that no log messages about activation failure should be written to the Event Log.
CLSCTX_REMOTE_SERVER Indicates a server executable, which runs on a different machine than the caller.
CLSCTX_RESERVED1 Reserved. Formerly INPROC_SERVERX86.
CLSCTX_RESERVED2 Reserved. Formerly INPROC_HANDLERX86.
CLSCTX_RESERVED3 Reserved. Formerly ESERV_HANDLER.
CLSCTX_RESERVED4 Reserved.
CLSCTX_RESERVED5 Reserved. Formerly NO_WX86_TRANSLATION.

See Also

Reference

Microsoft.VisualStudio.OLE.Interop Namespace