Compartir a través de


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

.NET Framework Security

See Also

Reference

AsyncSemaphore Class

Microsoft.VisualStudio.Threading Namespace