Dela via


Microsoft.JSInterop.Infrastructure Namespace

Contains base classes and infrastructure used by platforms implementing JS interop support. Types in this namespace should not normally be used directly from application code.

Classes

DotNetDispatcher

Provides methods that receive incoming calls from JS to .NET.

Structs

DotNetInvocationInfo

Information about a JSInterop call from JavaScript to .NET.

DotNetInvocationResult

Result of a .NET invocation that is returned to JavaScript.

Interfaces

IJSVoidResult

Represents a void result from a JavaScript call. This property is public to support cross-assembly accessibility for WebAssembly and should not be used by user code.

Remarks

For more information about JavaScript interop in Blazor applications, Call JavaScript functions from .NET methods in ASP.NET Core Blazor and Call .NET methods from JavaScript functions in ASP.NET Core Blazor.