Udostępnij za pośrednictwem


WebAssemblyJSRuntime.InvokeJS Metoda

Definicja

Przeciążenia

InvokeJS(String, String)

Wykonuje wywołanie funkcji synchronicznej.

InvokeJS(String, String, JSCallResultType, Int64)

Wykonuje wywołanie funkcji synchronicznej.

InvokeJS(String, String)

Źródło:
WebAssemblyJSRuntime.cs

Wykonuje wywołanie funkcji synchronicznej.

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

Parametry

identifier
String

Identyfikator funkcji do wywołania.

argsJson
String

Reprezentacja JSON argumentów.

Zwraca

Reprezentacja wyniku w formacie JSON.

Dotyczy

InvokeJS(String, String, JSCallResultType, Int64)

Źródło:
WebAssemblyJSRuntime.cs
Źródło:
WebAssemblyJSRuntime.cs
Źródło:
WebAssemblyJSRuntime.cs
Źródło:
WebAssemblyJSRuntime.cs
Źródło:
WebAssemblyJSRuntime.cs

Wykonuje wywołanie funkcji synchronicznej.

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

Parametry

identifier
String

Identyfikator funkcji do wywołania.

argsJson
String

Reprezentacja JSON argumentów.

resultType
JSCallResultType

Typ wyniku oczekiwanego od wywołania.

targetInstanceId
Int64

Identyfikator wystąpienia docelowego obiektu JS.

Zwraca

Reprezentacja wyniku w formacie JSON.

Dotyczy