Freigeben über


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

Startet einen asynchronen Funktionsaufruf.

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

Parameter

invocationInfo
JSInvocationInfo

Konfiguration des Interoperabilitätsaufrufs von .NET zu JavaScript.

Gilt für:

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
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 virtual void BeginInvokeJS(long taskId, string identifier, string? argsJson);
protected abstract void BeginInvokeJS(long taskId, string identifier, string argsJson);
abstract member BeginInvokeJS : int64 * string * string -> unit
override this.BeginInvokeJS : int64 * string * string -> unit
abstract member BeginInvokeJS : int64 * string * string -> unit
Protected Overridable Sub BeginInvokeJS (taskId As Long, identifier As String, argsJson As String)
Protected MustOverride 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 Funktion, die aufgerufen werden soll.

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

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

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 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: