You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: System.Device.UsbStream/UsbStream.cs
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -59,8 +59,9 @@ public extern bool IsConnected
59
59
/// <summary>
60
60
/// Gets or sets the number of milliseconds before a time-out occurs when a read operation does not finish.
61
61
/// </summary>
62
+
/// <value>The number of milliseconds before a time-out occurs when a read operation does not finish.</value>
62
63
/// <exception cref="IOException">If the USB device is not connected.</exception>
63
-
/// <exception cref="ArgumentOutOfRangeException">The read time-out value is less than zero and not equal to <see cref="Timeout.Infinite"/>.</exception>
64
+
/// <exception cref="ArgumentOutOfRangeException">The <see cref="ReadTimeout"/> value is less than zero and not equal to <see cref="Timeout.Infinite"/>.</exception>
64
65
publicoverrideintReadTimeout
65
66
{
66
67
get=>_readTimeout;
@@ -76,8 +77,9 @@ public override int ReadTimeout
76
77
/// <summary>
77
78
/// Gets or sets the number of milliseconds before a time-out occurs when a write operation does not finish.
78
79
/// </summary>
80
+
/// <value>The number of milliseconds before a time-out occurs. The default is <see cref="Timeout.Infinite"/>.</value>
79
81
/// <exception cref="IOException">If the USB device is not connected.</exception>
80
-
/// <exception cref="ArgumentOutOfRangeException">The read time-out value is less than zero and not equal to <see cref="Timeout.Infinite"/>.</exception>
82
+
/// <exception cref="ArgumentOutOfRangeException">The <see cref="WriteTimeout"/> value is less than zero and not equal to <see cref="Timeout.Infinite"/>.</exception>
0 commit comments