System.Threading.SemaphoreSlim.Wait Method

Blocks the current thread until it can enter the System.Threading.SemaphoreSlim, while observing a System.Threading.CancellationToken.

Syntax

public void Wait (CancellationToken cancellationToken)

Parameters

cancellationToken
The System.Threading.CancellationToken token to observe.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Threading
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 4.0.0.0