Freigeben über


JSRuntime.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:
JSRuntime.cs
Quelle:
JSRuntime.cs
Quelle:
JSRuntime.cs
Quelle:
JSRuntime.cs
Quelle:
JSRuntime.cs
Quelle:
JSRuntime.cs
Quelle:
JSRuntime.cs

Startet einen asynchronen Funktionsaufruf.

protected:
 abstract void BeginInvokeJS(long taskId, System::String ^ identifier, System::String ^ argsJson);
protected:
 virtual void BeginInvokeJS(long taskId, System::String ^ identifier, System::String ^ argsJson);
protected abstract void BeginInvokeJS (long taskId, string identifier, string argsJson);
protected virtual void BeginInvokeJS (long taskId, string identifier, string? argsJson);
abstract member BeginInvokeJS : int64 * string * string -> unit
abstract member BeginInvokeJS : int64 * string * string -> unit
override this.BeginInvokeJS : int64 * string * string -> unit
Protected MustOverride Sub BeginInvokeJS (taskId As Long, identifier As String, argsJson As String)
Protected Overridable Sub BeginInvokeJS (taskId As Long, identifier As String, argsJson As String)

Parameter

taskId
Int64

Der Bezeichner für den Funktionsaufruf oder null, wenn kein asynchroner Rückruf erforderlich ist.

identifier
String

Der Bezeichner für die aufzurufende Funktion.

argsJson
String

Eine JSON-Darstellung der Argumente.

Gilt für:

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

Quelle:
JSRuntime.cs
Quelle:
JSRuntime.cs
Quelle:
JSRuntime.cs
Quelle:
JSRuntime.cs
Quelle:
JSRuntime.cs

Startet einen asynchronen Funktionsaufruf.

protected:
 abstract void BeginInvokeJS(long taskId, System::String ^ identifier, System::String ^ argsJson, Microsoft::JSInterop::JSCallResultType resultType, long targetInstanceId);
protected abstract void BeginInvokeJS (long taskId, string identifier, string? argsJson, Microsoft.JSInterop.JSCallResultType resultType, long targetInstanceId);
abstract member BeginInvokeJS : int64 * string * string * Microsoft.JSInterop.JSCallResultType * int64 -> unit
Protected MustOverride Sub BeginInvokeJS (taskId As Long, identifier As String, argsJson As String, resultType As JSCallResultType, targetInstanceId As Long)

Parameter

taskId
Int64

Der Bezeichner für den Funktionsaufruf oder null, wenn kein asynchroner Rückruf erforderlich ist.

identifier
String

Der Bezeichner für die aufzurufende Funktion.

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: