ClientBaseConnectAsync Method

Connects the client to the server asynchronously.

Definition

Namespace: Gemstone.Communication
Assembly: Gemstone.Communication (in Gemstone.Communication.dll) Version: 1.0.158 -- Release Build+da7bd631cc12b0fea731daab2fc989c84193b7fc
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