AsyncSemaphore Constructor
Initializes a new instance of AsyncSemaphore.
Namespace: Microsoft.VisualStudio.Threading
Assembly: Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)
Syntax
'Declaration
Public Sub New ( _
initialCount As Integer _
)
public AsyncSemaphore(
int initialCount
)
public:
AsyncSemaphore(
int initialCount
)
new :
initialCount:int -> AsyncSemaphore
public function AsyncSemaphore(
initialCount : int
)
Parameters
- initialCount
Type: System.Int32
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.