CommunicatorConnect(String, CancellationToken) Method

Call this method to connect to a remote device. It must be called before any sending operation unless AutoConnect is set to true.

Definition

Namespace: OddPrg.Communication
Assembly: OddPrg.Communication (in OddPrg.Communication.dll) Version: 2.0.0.2 (2.0.0.2)
C#
public void Connect(
	string message,
	CancellationToken cancelToken
)

Parameters

message  String
Message to display in a log. If it is null, standard "connecting" message is displayed.
cancelToken  CancellationToken

See Also