JSRuntime
JSRuntime()
DefaultAsyncTimeout
JsonSerializerOptions
BeginInvokeJS(Int64, String, String)
BeginInvokeJS(Int64, String, String, JSCallResultType, Int64)
Dispose()
EndInvokeDotNet(DotNetInvocationInfo, DotNetInvocationResult)
InvokeAsync<TValue>(String, Object[])
InvokeAsync<TValue>(String, CancellationToken, Object[])
ReadJSDataAsStreamAsync(IJSStreamReference, Int64, CancellationToken)
ReceiveByteArray(Int32, Byte[])
SendByteArray(Int32, Byte[])
SetCurrentJSRuntime(IJSRuntime)
TransmitStreamAsync(Int64, DotNetStreamReference)
net9.0
namespace Microsoft.JSInterop
{
public abstract class JSRuntime : IJSRuntime, IDisposable
{
public ValueTask<TValue> InvokeAsync<TValue>(string! identifier, object?[]? args);
}
}
| .NET | 5.06.07.08.09.0 |
|---|---|
| .NET Core | 3.03.1 |
Information specific to net9.0 | |
| Assembly | Microsoft.JSInterop , Version=9.0.0.0, PublicKeyToken=adb9793829ddae60 |
| Referencing | Requires any:
|
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API