IConnectionDisconnectAsync Method
Disconnects the IConnection when connected (asynchronously)
Namespace: TwinCAT
Assembly: TwinCAT.Ads.Abstractions (in
TwinCAT.Ads.Abstractions.dll) Version:
7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470
Syntax
C#
Task<bool> DisconnectAsync(
CancellationToken cancel
)Parameters
|
cancel CancellationToken |
The cancellation token that can be used by other objects or threads to receive notice of cancellation. |