Click or drag to resize

ClientBaseConnectAsync Method

Connects the client to the server asynchronously.

Namespace: GSF.Communication
Assembly: GSF.Communication (in GSF.Communication.dll) Version: 2.4.207-beta
Syntax
public virtual WaitHandle ConnectAsync()
View Source

Return Value

WaitHandle
WaitHandle for the asynchronous operation.

Implements

IClientConnectAsync
Exceptions
ExceptionCondition
FormatExceptionServer property in ConnectionString is invalid.
InvalidOperationExceptionAttempt is made to connect the client when it is not disconnected.
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.
See Also