Verastream Host Integrator .Net Reference

HostIntegratorSession.ConnectToSessionViaDomain Method (String, String, String)

Establishes a connection to a Host Integrator server and creates or allocates a host session with the specified session pool. The connection is made using the specified AADS server and Host Integrator domain.

[Visual Basic]
Overloads Public Sub ConnectToSessionViaDomain( _
   ByVal directoryServer As String, _
   ByVal domainName As String, _
   ByVal sessionPool As String _
)
[C#]
public void ConnectToSessionViaDomain(
   string directoryServer,
   string domainName,
   string sessionPool
);

Parameters

directoryServer
Specifies a Host Integrator authentication and authorization directory server (AADS).
domainName
Specifies a Host Integrator domain.
sessionPool
Specifies a Host Integrator session pool.

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 | HostIntegratorSession Members | WRQ.Verastream.HostIntegrator Namespace | HostIntegratorSession.ConnectToSessionViaDomain Overload List