AsyncSemaphore(Int32) 构造函数

定义

初始化 AsyncSemaphore 类的新实例。

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)

参数

initialCount
Int32

可以同时授予的信号量的初始请求数。

适用于