NamedSemaphoreWaitOne(TimeSpan) Method
Blocks the current thread until the current instance receives a signal, using a TimeSpan
to specify the time interval.
Namespace: Gemstone.ThreadingAssembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.136 -- Release Build+d454dafd53fcce88fce9c0a8ec8597176c30b791
public override bool WaitOne(
TimeSpan timeout
)
Public Overrides Function WaitOne (
timeout As TimeSpan
) As Boolean
public:
virtual bool WaitOne(
TimeSpan timeout
) override
function WaitOne(timeout);
- timeout TimeSpan
-
A TimeSpan that represents the number of milliseconds to wait, or a TimeSpan
that represents -1 milliseconds to wait indefinitely.
Booleantrue if the current instance receives a signal; otherwise,
false.