net11.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.011.0
Information specific to net11.0
Assembly

System.Threading , Version=11.0.0.0, PublicKeyToken=b03f5f7f11d50a3a

Referencing

The API is automatically referenced.

Platform Restrictions

This API is only supported on the following platforms:

  • Windows
  • Built-in API
  • Package-provided API