ClientBaseConnectAsync Method

Connects the client to the server asynchronously.

Definition

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