Freigeben über


WebAssemblyJSRuntime.BeginInvokeJS Methode

Definition

Überlädt

BeginInvokeJS(Int64, String, String)

Startet einen asynchronen Funktionsaufruf.

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

Startet einen asynchronen Funktionsaufruf.

BeginInvokeJS(Int64, String, String)

Quelle:
WebAssemblyJSRuntime.cs

Startet einen asynchronen Funktionsaufruf.

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)

Parameter

asyncHandle
Int64
identifier
String

Der Bezeichner für die funktion, die aufgerufen werden soll.

argsJson
String

Eine JSON-Darstellung der Argumente.

Gilt für:

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

Quelle:
WebAssemblyJSRuntime.cs
Quelle:
WebAssemblyJSRuntime.cs
Quelle:
WebAssemblyJSRuntime.cs
Quelle:
WebAssemblyJSRuntime.cs
Quelle:
WebAssemblyJSRuntime.cs
Quelle:
WebAssemblyJSRuntime.cs

Startet einen asynchronen Funktionsaufruf.

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)

Parameter

asyncHandle
Int64
identifier
String

Der Bezeichner für die funktion, die aufgerufen werden soll.

argsJson
String

Eine JSON-Darstellung der Argumente.

resultType
JSCallResultType

Der Typ des Ergebnisses, das vom Aufruf erwartet wird.

targetInstanceId
Int64

Die instance-ID des JS-Zielobjekts.

Gilt für: