ClientBaseConnectAsync Method

Connects the client to the server asynchronously.

Definition

Namespace: Gemstone.Communication
Assembly: Gemstone.Communication (in Gemstone.Communication.dll) Version: 1.0.110 -- Release Build+0c64c8391bfe7dd5190df3a4b323a05770415384
public virtual WaitHandle? ConnectAsync()

Return Value

WaitHandle
WaitHandle for the asynchronous operation.

Implements

IClientConnectAsync

Remarks

Derived classes are expected to override this method with protocol specific connection operations. Call the base class method to obtain an operational wait handle if protocol connection operation doesn't provide one already.

Exceptions

FormatExceptionServer property in ConnectionString is invalid.
InvalidOperationExceptionAttempt is made to connect the client when it is not disconnected.

See Also