Partager via


WebAssemblyJSRuntime.InvokeJS Méthode

Définition

Surcharges

InvokeJS(String, String)

Effectue un appel de fonction synchrone.

InvokeJS(String, String, JSCallResultType, Int64)

Effectue un appel de fonction synchrone.

InvokeJS(String, String)

Source:
WebAssemblyJSRuntime.cs

Effectue un appel de fonction synchrone.

protected:
 override System::String ^ InvokeJS(System::String ^ identifier, System::String ^ argsJson);
protected override string InvokeJS (string identifier, string argsJson);
override this.InvokeJS : string * string -> string
Protected Overrides Function InvokeJS (identifier As String, argsJson As String) As String

Paramètres

identifier
String

Identificateur de la fonction à appeler.

argsJson
String

Représentation JSON des arguments.

Retours

Représentation JSON du résultat.

S’applique à

InvokeJS(String, String, JSCallResultType, Int64)

Source:
WebAssemblyJSRuntime.cs
Source:
WebAssemblyJSRuntime.cs
Source:
WebAssemblyJSRuntime.cs
Source:
WebAssemblyJSRuntime.cs

Effectue un appel de fonction synchrone.

protected override string InvokeJS (string identifier, string argsJson, Microsoft.JSInterop.JSCallResultType resultType, long targetInstanceId);
protected override string InvokeJS (string identifier, string? argsJson, Microsoft.JSInterop.JSCallResultType resultType, long targetInstanceId);
override this.InvokeJS : string * string * Microsoft.JSInterop.JSCallResultType * int64 -> string
Protected Overrides Function InvokeJS (identifier As String, argsJson As String, resultType As JSCallResultType, targetInstanceId As Long) As String

Paramètres

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.

Retours

Représentation JSON du résultat.

S’applique à