Jazyk

WebAssemblyJSRuntime.BeginInvokeJS Metoda

Definice

Přetížení

Název Description
BeginInvokeJS(JSInvocationInfo)

Zahájí vyvolání asynchronní funkce.

BeginInvokeJS(Int64, String, String)

Zahájí vyvolání asynchronní funkce.

BeginInvokeJS(Int64, String, String, JSCallResultType, Int64)

Zahájí asynchronní vyvolání funkce typem FunctionCallvolání . Pro další možnosti konfigurace použijte přetížení BeginInvokeJS(JSInvocationInfo).

BeginInvokeJS(JSInvocationInfo)

Zdroj:
WebAssemblyJSRuntime.cs
Zdroj:
WebAssemblyJSRuntime.cs

Zahájí vyvolání asynchronní funkce.

protected override void BeginInvokeJS(in Microsoft.JSInterop.Infrastructure.JSInvocationInfo invocationInfo);
override this.BeginInvokeJS : JSInvocationInfo -> unit
Protected Overrides Sub BeginInvokeJS (invocationInfo As JSInvocationInfo)

Parametry

invocationInfo
JSInvocationInfo

Konfigurace volání z .NET do JavaScriptu

Platí pro

BeginInvokeJS(Int64, String, String)

Zdroj:
WebAssemblyJSRuntime.cs

Zahájí vyvolání asynchronní funkce.

protected:
 override void BeginInvokeJS(long asyncHandle, System::String ^ identifier, System::String ^ argsJson);
protected override void BeginInvokeJS(long asyncHandle, string identifier, string argsJson);
override this.BeginInvokeJS : int64 * string * string -> unit
Protected Overrides Sub BeginInvokeJS (asyncHandle As Long, identifier As String, argsJson As String)

Parametry

asyncHandle
Int64
identifier
String

Identifikátor funkce, která se má vyvolat.

argsJson
String

Reprezentace argumentů ve formátu JSON

Platí pro

BeginInvokeJS(Int64, String, String, JSCallResultType, Int64)

Zdroj:
WebAssemblyJSRuntime.cs
Zdroj:
WebAssemblyJSRuntime.cs
Zdroj:
WebAssemblyJSRuntime.cs
Zdroj:
WebAssemblyJSRuntime.cs
Zdroj:
WebAssemblyJSRuntime.cs
Zdroj:
WebAssemblyJSRuntime.cs
Zdroj:
WebAssemblyJSRuntime.cs

Zahájí asynchronní vyvolání funkce typem FunctionCallvolání . Pro další možnosti konfigurace použijte přetížení BeginInvokeJS(JSInvocationInfo).

protected override void BeginInvokeJS(long asyncHandle, string identifier, string? argsJson, Microsoft.JSInterop.JSCallResultType resultType, long targetInstanceId);
protected override void BeginInvokeJS(long asyncHandle, string identifier, string argsJson, Microsoft.JSInterop.JSCallResultType resultType, long targetInstanceId);
override this.BeginInvokeJS : int64 * string * string * Microsoft.JSInterop.JSCallResultType * int64 -> unit
Protected Overrides Sub BeginInvokeJS (asyncHandle As Long, identifier As String, argsJson As String, resultType As JSCallResultType, targetInstanceId As Long)

Parametry

asyncHandle
Int64
identifier
String

Identifikátor funkce, která se má vyvolat.

argsJson
String

Reprezentace argumentů ve formátu JSON

resultType
JSCallResultType

Typ výsledku očekávaného od vyvolání.

targetInstanceId
Int64

ID instance cílového objektu JS.

Platí pro