From e5823f280604ef11ed66911a43d30f45c2d3e315 Mon Sep 17 00:00:00 2001 From: Michael Croes Date: Tue, 1 Aug 2023 22:52:10 +0200 Subject: [PATCH] doc(ReadStatusAsync): Add missing cancellationToken documentation --- S7.Net/PlcAsynchronous.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/S7.Net/PlcAsynchronous.cs b/S7.Net/PlcAsynchronous.cs index 726e6cb..526dd0a 100644 --- a/S7.Net/PlcAsynchronous.cs +++ b/S7.Net/PlcAsynchronous.cs @@ -315,6 +315,8 @@ namespace S7.Net /// /// Read the current status from the PLC. A value of 0x08 indicates the PLC is in run status, regardless of the PLC type. /// + /// The token to monitor for cancellation requests. The default value is None. + /// Please note that cancellation is advisory/cooperative and will not lead to immediate cancellation in all cases. /// A task that represents the asynchronous operation, with it's result set to the current PLC status on completion. public async Task ReadStatusAsync(CancellationToken cancellationToken = default) { var dataToSend = BuildSzlReadRequestPackage(0x0424, 0);