Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

MES Stateful API

ClientSession Class

The ClientSession class manages the MES session for an application. You use it to start a session with the MES Middleware and log users onto the session.

The ClientSession object has a property to indicate which user is the current user. Through the users, you access the entities the users are logged onto. Through the entities, you access the jobs that are running on the entities.

There is only one ClientSession object for an application, and the object exists from the time it is created until the application ends. You get a reference to the ClientSession object by calling the GetInstance() static method. The first call to this method will create the ClientSession object. For more examples, see Using the MES Stateful API.

In This Topic
TitleResults for “How to create a CRG?”Also Available in