AsyncSemaphore(Int32) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.