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.
Namespace: Gemstone.ThreadingAssembly: Gemstone.Threading (in Gemstone.Threading.dll) Version: 1.0.147 -- Release Build+71918e29738e2d0700de8aec0ad72324b16f1428
public int Fail(
TKey key,
Exception ex
)
Public Function Fail (
key As TKey,
ex As Exception
) As Integer
public:
int Fail(
TKey key,
Exception^ ex
)
- key TKey
- Key to fail.
- ex Exception
- Exception to signal to all waiters.
Int32The number of waiters released.
ObjectDisposedException | Thrown if the instance has been disposed. |