StartSession Method
- Last UpdatedNov 06, 2025
- 1 minute read
The StartSession() method starts a session with the Middleware for the specified client type or joins the caller to the current session if a session has already been started. The client type is one of the types from the ClientTypes enumeration, which signifies the client that is currently using the session. Examples of client types include Operator and DataEditor.
The Middleware checks that sufficient licenses of this client type are available before allowing the session. If successful, the session ID is saved as a private variable and exposed as a read-only property.
'Declaration
Public Sub StartSession( _
ByVal clientType As ClientTypes _
)
public void StartSession(
ClientTypes clientType
)
Parameters
- clientType
- Required. Holds the type of client starting the session.