Semaphore
Semaphore(Int32, Int32)
Semaphore(Int32, Int32, String)
Semaphore(Int32, Int32, String, Boolean)
Semaphore(Int32, Int32, String, NamedWaitHandleOptions)
Semaphore(Int32, Int32, String, Boolean, SemaphoreSecurity)
Semaphore(Int32, Int32, String, NamedWaitHandleOptions, Boolean)
GetAccessControl()
OpenExisting(String)
OpenExisting(String, NamedWaitHandleOptions)
OpenExisting(String, SemaphoreRights)
Release()
Release(Int32)
SetAccessControl(SemaphoreSecurity)
TryOpenExisting(String, Semaphore)
TryOpenExisting(String, NamedWaitHandleOptions, Semaphore)
TryOpenExisting(String, SemaphoreRights, Semaphore)
GetAccessControl(Semaphore)
SetAccessControl(Semaphore, SemaphoreSecurity)
net10.0
namespace System.Threading
{
public sealed class Semaphore : WaitHandle
{
[SupportedOSPlatform("windows")]
public static bool TryOpenExisting(string! name, NamedWaitHandleOptions options, [NotNullWhen(true)] out Semaphore? result);
}
}
| Design Reviews |
|
|---|---|
| .NET | 10.0 |
Information specific to net10.0 | |
| Assembly | System.Threading , Version=10.0.0.0, PublicKeyToken=b03f5f7f11d50a3a |
| Referencing | The API is automatically referenced. |
| Preview | The API is contained in a preview framework. |
| Platform Restrictions | This API is only supported on the following platforms:
|
- Built-in API
- Package-provided API