3D PLM Enterprise Architecture |
Middleware Abstraction - Object Modeler |
The Execution ContextThe way to control where your request can be executed |
Quick Reference |
AbstractThis article explains what is the execution context and which values it can take. It includes the following sections: |
When you request the creation of an object using an object factory, you can indicate, with Windows only, whether this object should be created in the current process, that is the process running the client application, or could be created in another process on the same or on another machine.
It is usually passed as an input argument to the function or method called.
[Top]
The execution context can take the following basic values.
CLSCTX_INPROC_SERVER |
The client application only accepts objects created and run in the same process. |
CLSCTX_INPROC_HANDLER |
The client application uses only in-proc handlers. |
CLSCTX_LOCAL_SERVER |
The client application uses only objects created and run in a different process than the client application, but running on the same machine. |
CLSCTX_REMOTE_SERVER |
The client application uses only objects created and run on different machines. |
These basic values can be combined using the bitwise OR operator to make compound values. For example:
CLSCTX_INPROC_SERVER|CLSCTX_INPROC_HANDLER
CLSCTX_INPROC_SERVER|CLSCTX_INPROC_HANDLER|CLSCTX_LOCAL_SERVER|CLSCTX_REMOTE_SERVER
[Top]
Version: 1 [Jan 2000] | Document created |
[Top] |
Copyright © 2000, Dassault Systèmes. All rights reserved.