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
/// Blocks the current thread until the specified <see cref="WaitHandle"/> gets signaled, using a
89
-
/// 32-bit signed integer to specify the time interval in milliseconds.
90
-
/// </summary>
91
-
/// <param name="waitHandle">The handle to wait for.</param>
92
-
/// <param name="millisecondsTimeout">To number of milliseconds to wait for <paramref name="waitHandle"/> to get signaled, or <c>-1</c> to wait indefinitely.</param>
93
-
/// <returns>
94
-
/// <see langword="true"/> if <paramref name="waitHandle"/> received a signal within the specified timeout;
95
-
/// otherwise, <see langword="false"/>.
96
-
/// </returns>
97
-
/// <exception cref="SshException">The connection was closed by the server.</exception>
98
-
/// <exception cref="SshException">The channel was closed.</exception>
99
-
/// <remarks>
100
-
/// The blocking wait is also interrupted when either the established channel is closed, the current
101
-
/// session is disconnected or an unexpected <see cref="Exception"/> occurred while processing a channel
/// Blocks the current thread until the specified <see cref="WaitHandle"/> gets signaled, using a
108
-
/// 32-bit signed integer to specify the time interval in milliseconds.
109
-
/// </summary>
110
-
/// <param name="waitHandleA">The first handle to wait for.</param>
111
-
/// <param name="waitHandleB">The second handle to wait for.</param>
112
-
/// <param name="millisecondsTimeout">To number of milliseconds to wait for a <see cref="WaitHandle"/> to get signaled, or <c>-1</c> to wait indefinitely.</param>
113
-
/// <returns>
114
-
/// <c>0</c> if <paramref name="waitHandleA"/> received a signal within the specified timeout and <c>1</c>
115
-
/// if <paramref name="waitHandleB"/> received a signal within the specified timeout, or <see cref="WaitHandle.WaitTimeout"/>
116
-
/// if no object satisfied the wait.
117
-
/// </returns>
118
-
/// <exception cref="SshException">The connection was closed by the server.</exception>
119
-
/// <exception cref="SshException">The channel was closed.</exception>
120
-
/// <remarks>
121
-
/// <para>
122
-
/// The blocking wait is also interrupted when either the established channel is closed, the current
123
-
/// session is disconnected or an unexpected <see cref="Exception"/> occurred while processing a channel
124
-
/// or session event.
125
-
/// </para>
126
-
/// <para>
127
-
/// When both <paramref name="waitHandleA"/> and <paramref name="waitHandleB"/> are signaled during the call,
/// Waits for any of the elements in the specified array to receive a signal, using a 32-bit signed
135
89
/// integer to specify the time interval.
136
90
/// </summary>
137
-
/// <param name="waitHandles">A <see cref="WaitHandle"/> array - constructed using <see cref="CreateWaitHandleArray(WaitHandle[])"/> - containing the objects to wait for.</param>
91
+
/// <param name="waitHandles">A <see cref="WaitHandle"/> array - constructed using <see cref="CreateWaitHandleArray"/> - containing the objects to wait for.</param>
138
92
/// <param name="millisecondsTimeout">To number of milliseconds to wait for a <see cref="WaitHandle"/> to get signaled, or <c>-1</c> to wait indefinitely.</param>
139
93
/// <returns>
140
94
/// The array index of the first non-system object that satisfied the wait.
0 commit comments