Click or drag to resize

OhioSessionConnectAsync Method

Asynchronously starts the communications link with the host.

Namespace: Flex.Hal.Ohio
Assembly: Flex.Hal.Ohio (in Flex.Hal.Ohio.dll) Version: 6.0.8219.1880
Syntax
public Task<bool> ConnectAsync(
	CancellationToken canceltoken = default
)

Parameters

canceltoken  CancellationToken  (Optional)
Token to cancel the connection.

Return Value

TaskBoolean
A task that represents the asynchronous connect operation. The value of the TResult is true if the connection is successful; otherwise false.
See Also