net9.0
namespace Microsoft.Extensions.Diagnostics.Probes
{
    public class TcpEndpointProbesOptions
    {
        [Range(1, 65535)]
        public int TcpPort { get; set; }
    }
}
.NET 8.09.0
.NET Framework 4.6.24.74.7.14.7.24.84.8.1
Information specific to net9.0
Assembly

Microsoft.Extensions.Diagnostics.Probes , Version=9.0.0.0, PublicKeyToken=31bf3856ad364e35

Referencing

Your project needs a package reference to Microsoft.Extensions.Diagnostics.Probes.

Package Microsoft.Extensions.Diagnostics.Probes net9.0
Preview EXTEXP0015: This API is marked as experimental.(more details)
Platform Restrictions

The property getter is supported on all platforms.

The property setter is supported on all platforms.

  • Built-in API
  • Package-provided API

06/26/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙