An NDoc Documented Class Library

HostIntegratorSession.ConnectToModelViaDomain Method (String, String, String, IDictionary)

Establishes a connection to a Host Integrator server and creates a host session with the specified model. The connection is made using the specified AADS server and Host Integrator domain. This version of ConnectToModelViaDomain presents a user ID and a password, to establish authorization on the Host Integrator server, and also provides a set of model variables, to set upon connection.

public virtual void ConnectToModelViaDomain(
   string directoryServer,
   string domain,
   string modelName,
   IDictionary modelVariables
);

Parameters

directoryServer
Specifies a Host Integrator authentication and authorization directory server (AADS).
domain
Specifies a Host Integrator domain.
modelName
Specifies the name of a Host Integrator model.
modelVariables
Specifies model variables to set on connection.

Remarks

Reasons for failure include:

Exceptions

Exception TypeCondition
HostIntegratorConnectorExceptionThrown if already connected
HostIntegratorChannelExceptionThrown if the client connection attempt fails
HostIntegratorTimeoutExceptionThrown if the client connection times out waiting for a response from the VHI server
HostIntegratorServerExceptionThrown if the server refuses a client connection attempt
HostIntegratorServerExceptionThrown if the requested model or session is not available
HostIntegratorServerExceptionThrown if the host connection does not succeed

See Also

HostIntegratorSession Class | WRQ.Verastream.HostIntegrator Namespace | HostIntegratorSession.ConnectToModelViaDomain Overload List