Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

Semaphore.Attempt Method

Wait at most msecs millisconds for a permit

[Visual Basic]
Public Overridable Sub Attempt( _
   ByVal msecs As Long _
) _
    Implements ISync.Attempt
[C#]
public virtual bool Attempt(
   long msecs
);

Parameters

msecs
number of ms to wait

Return Value

true if aquired

Implements

ISync.Attempt

See Also

Semaphore Class | Spring.Threading Namespace