KeyedSignalTKey, TResultFail Method

Fails all current waiters for key with ex. New waiters added after this call for same key will await a subsequent signal/fail.

Definition

Namespace: Gemstone.Threading
Assembly: Gemstone.Threading (in Gemstone.Threading.dll) Version: 1.0.158 -- Release Build+5f840a50b8123565ea38e0c1d6c00b5650022b4a
public int Fail(
	TKey key,
	Exception ex
)

Parameters

key  TKey
Key to fail.
ex  Exception
Exception to signal to all waiters.

Return Value

Int32
The number of waiters released.

Exceptions

ObjectDisposedExceptionThrown if the instance has been disposed.

See Also