NamedSemaphoreWaitOne(Int32) Method

Blocks the current thread until the current instance receives a signal, using a 32-bit signed integer to specify the time interval in milliseconds.

Definition

Namespace: Gemstone.Threading
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.141 -- Release Build+8fc1477299d57116e2a4f3cb8dfe059f814b239b
public override bool WaitOne(
	int millisecondsTimeout
)

Parameters

millisecondsTimeout  Int32
The number of milliseconds to wait, or Infinite (-1) to wait indefinitely.

Return Value

Boolean
true if the current instance receives a signal; otherwise, false.

See Also