Artix .Net

Session Constructor 

Creates a Session from the specified SessionManager.

public Session(
   SessionManager manager,
   string group,
   ulong preferredTimeout
);

Parameters

manager
Client for Session Manager service from which the session should be requested.
group
The group to obtain the session for.
preferredTimeout
The request timeout (in seconds) for the session. Unless the automatic session renew is switched off (by calling DoAutomaticSessionRenew) the session will be automatically renewed until the session is ended (see EndSession).

Remarks

A user must call EndSession when they have finished with the session. If this is not done then the instance will not cleanup correctly by the garbage collector.

See Also

Session Class | Bus.Services Namespace