net9.0
namespace Microsoft.AspNetCore.Blazor
{
    [EditorBrowsable(EditorBrowsableState.Never)]
    public static class JSInteropMethods
    {
        [JSInvokable("NotifyLocationChanged")]
        public static void NotifyLocationChanged(string uri, bool isInterceptedLink);
    }
}
.NET
5.06.07.08.09.010.011.0
.NET Core
3.03.1
.NET Standard
2.1
Information specific to net9.0
Assembly

Microsoft.AspNetCore.Blazor , Version=3.1.0.0, PublicKeyToken=adb9793829ddae60

Referencing

Your project needs a package reference to Microsoft.AspNetCore.Blazor.

Package Microsoft.AspNetCore.Blazor (3.2.0-preview1.20073.1) netstandard2.1
Preview This API is contained in a prerelease package.
Platform Restrictions

This API is supported on all platforms.

  • Built-in API
  • Package-provided API