An NDoc Documented Class Library

HostIntegratorSession.SuspendConnection Method 

Suspends the execution of a currently running Host Integrator server session.

public virtual string SuspendConnection(
   int timeout
);

Parameters

timeout
Specifies how many minutes can elapse before the suspended session is automatically terminated.

Return Value

This method returns the connection token for this session, which can then be used with the ResumeConnection method to re-establish the connection.

Remarks

On successful suspension, SuspendConnection returns a token to be used when resuming the session. If the current session is already suspended, this method does nothing.

Reasons for failure include:

Exceptions

Exception TypeCondition
HostIntegratorConnectorExceptionThrown if not connected
HostIntegratorExceptionThrown if the connection is for metadata only

See Also

HostIntegratorSession Class | WRQ.Verastream.HostIntegrator Namespace