Semaphore
Semaphore(Int32, Int32)
Semaphore(Int32, Int32, String)
Semaphore(Int32, Int32, String, Boolean)
Semaphore(Int32, Int32, String, Boolean, SemaphoreSecurity)
GetAccessControl()
OpenExisting(String)
OpenExisting(String, SemaphoreRights)
Release()
Release(Int32)
SetAccessControl(SemaphoreSecurity)
TryOpenExisting(String, Semaphore)
TryOpenExisting(String, SemaphoreRights, Semaphore)
GetAccessControl(Semaphore)
SetAccessControl(Semaphore, SemaphoreSecurity)
net5.0
namespace System.Threading
{
public sealed class Semaphore : WaitHandle
{
[SupportedOSPlatform("windows")]
public static bool TryOpenExisting(string! name, [NotNullWhen(true)] out Semaphore? result);
}
}
| Design Reviews |
|
|---|---|
| .NET | 5.06.07.08.09.010.011.0 |
| .NET Core | 1.01.12.02.12.23.03.1 |
| .NET Framework | 4.54.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1 |
| .NET Standard | 1.01.11.21.31.41.51.62.02.1 |
Information specific to net5.0 | |
| Assembly | System.Threading , Version=5.0.0.0, PublicKeyToken=b03f5f7f11d50a3a |
| Referencing | The API is automatically referenced. |
| Platform Restrictions | This API is only supported on the following platforms:
|
- Built-in API
- Package-provided API