Partilhar via


AsyncSemaphore(Int32) Constructor

Definition

Initializes a new instance of the AsyncSemaphore class.

public:
 AsyncSemaphore(int initialCount);
public:
 AsyncSemaphore(int initialCount);
 AsyncSemaphore(int initialCount);
public AsyncSemaphore (int initialCount);
new Microsoft.VisualStudio.Threading.AsyncSemaphore : int -> Microsoft.VisualStudio.Threading.AsyncSemaphore
Public Sub New (initialCount As Integer)

Parameters

initialCount
Int32

The initial number of requests for the semaphore that can be granted concurrently.

Applies to