Freigeben über


WebAssemblyJSRuntime.BeginInvokeJS Methode

Definition

Überlädt

Name Beschreibung
BeginInvokeJS(JSInvocationInfo)

Startet einen asynchronen Funktionsaufruf.

BeginInvokeJS(Int64, String, String)

Startet einen asynchronen Funktionsaufruf.

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

Beginnt mit dem Aufruf einer asynchronen Funktion mit dem Aufruftyp FunctionCall. Verwenden Sie für weitere Konfigurationsoptionen die Überladung BeginInvokeJS(JSInvocationInfo).

BeginInvokeJS(JSInvocationInfo)

Quelle:
WebAssemblyJSRuntime.cs

Startet einen asynchronen Funktionsaufruf.

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

Parameter

invocationInfo
JSInvocationInfo

Konfiguration des Interoperabilitätsaufrufs von .NET zu JavaScript.

Gilt für:

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

Beginnt mit dem Aufruf einer asynchronen Funktion mit dem Aufruftyp FunctionCall. Verwenden Sie für weitere Konfigurationsoptionen die Überladung 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)

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 Vom Aufruf erwartete Ergebnistyp.

targetInstanceId
Int64

Die Instanz-ID des JS-Zielobjekts.

Gilt für: