Partager via


JSRuntime.BeginInvokeJS Méthode

Définition

Surcharges

BeginInvokeJS(Int64, String, String)

Commence un appel de fonction asynchrone.

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

Commence un appel de fonction asynchrone.

BeginInvokeJS(Int64, String, String)

Source:
JSRuntime.cs
Source:
JSRuntime.cs
Source:
JSRuntime.cs
Source:
JSRuntime.cs
Source:
JSRuntime.cs
Source:
JSRuntime.cs

Commence un appel de fonction asynchrone.

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)

Paramètres

taskId
Int64

Identificateur de l’appel de fonction ou zéro si aucun rappel asynchrone n’est requis.

identifier
String

Identificateur de la fonction à appeler.

argsJson
String

Représentation JSON des arguments.

S’applique à

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

Source:
JSRuntime.cs
Source:
JSRuntime.cs
Source:
JSRuntime.cs
Source:
JSRuntime.cs

Commence un appel de fonction asynchrone.

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)

Paramètres

taskId
Int64

Identificateur de l’appel de fonction ou zéro si aucun rappel asynchrone n’est requis.

identifier
String

Identificateur de la fonction à appeler.

argsJson
String

Représentation JSON des arguments.

resultType
JSCallResultType

Type de résultat attendu de l’appel.

targetInstanceId
Int64

ID instance de l’objet JS cible.

S’applique à