OhioSessionConnectAsync Method |
Asynchronously starts the communications link with the host.
Namespace: Flex.Hal.OhioAssembly: Flex.Hal.Ohio (in Flex.Hal.Ohio.dll) Version: 6.0.8219.1880
Syntax public Task<bool> ConnectAsync(
CancellationToken canceltoken = default
)
Public Function ConnectAsync (
Optional canceltoken As CancellationToken = Nothing
) As Task(Of Boolean)
Parameters
- canceltoken CancellationToken (Optional)
- Token to cancel the connection.
Return Value
TaskBooleanA task that represents the asynchronous connect operation. The value
of the TResult is true if the connection is successful; otherwise false.
See Also