Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
Renci
SshNet
Common
CountdownEvent
Wait
Renci.SshNet.Common.CountdownEvent.Wait C# (CSharp) Method
CountdownEvent Class Documentation
Mostra file
Open project: sshnet/SSH.NET
Wait()
public
method
Blocks the current thread until the
CountdownEvent
is set, using a
TimeSpan
to measure the timeout.
The current instance has already been disposed.
public
Wait
(
System.TimeSpan
timeout
) :
bool
timeout
System.TimeSpan
A
that represents the number of milliseconds to wait, or a
that represents -1 milliseconds to wait indefinitely.
return
bool
public bool Wait(TimeSpan timeout) { EnsureNotDisposed(); return _event.WaitOne(timeout); }
CountdownEvent
AddCount
CountdownEvent
Dispose
EnsureNotDisposed
Signal
Wait