Register the context manager in the Windows registry. This enables context participant applications to locate and bind to the context manager.
To create a context manager reference, call the following:
The Leadtools.Ccow.IContextSession interface supports the following operations:
Activates a context manager so that it represents the active session for a point-of-use device.
Instructs the context manager to create a new context manager.
Note: A new session deactivates the current session, allowing the users to share the same session.
To join a common context session, create a Context Manager:
After a context manager has been created, call the IContextManager.JoinCommonContext method to become a participant.
Calling the IContextManager.JoinCommonContext method returns a participant coupon (an integer number assigned by the context manager to the application), when it joins a common context session. This coupon is subsequently used by the application to identify itself when it calls a context manager method requiring application identification.
Note: Setting survey to true when joining the common context means the application will participate in context change surveys. If the parameter is false, the application will only be informed when a context change has been accepted.
Calling IContextManager.SuspendParticipation enables an application to indicate that it wants to suspend its active participation in a common context session, while remaining registered as a participant.
To resume a suspended participant in a common context session, call IContextManager.SuspendParticipation
To disconnect the application from the context session, call the IContextManager.LeaveCommonContext method.
Medical Web Viewer .NET