ClientBaseConnectAsync Method

Connects the client to the server asynchronously.

Definition

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