JSInProcessRuntime.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:
JSInProcessRuntime.cs
Źródło:
JSInProcessRuntime.cs
Źródło:
JSInProcessRuntime.cs
Źródło:
JSInProcessRuntime.cs
Źródło:
JSInProcessRuntime.cs
Źródło:
JSInProcessRuntime.cs

Wykonuje wywołanie funkcji synchronicznej.

protected:
 abstract System::String ^ InvokeJS(System::String ^ identifier, System::String ^ argsJson);
protected:
 virtual System::String ^ InvokeJS(System::String ^ identifier, System::String ^ argsJson);
protected abstract string InvokeJS (string identifier, string argsJson);
protected virtual string? InvokeJS (string identifier, string? argsJson);
abstract member InvokeJS : string * string -> string
abstract member InvokeJS : string * string -> string
override this.InvokeJS : string * string -> string
Protected MustOverride Function InvokeJS (identifier As String, argsJson As String) As String
Protected Overridable 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:
JSInProcessRuntime.cs
Źródło:
JSInProcessRuntime.cs
Źródło:
JSInProcessRuntime.cs
Źródło:
JSInProcessRuntime.cs

Wykonuje wywołanie funkcji synchronicznej.

protected:
 abstract System::String ^ InvokeJS(System::String ^ identifier, System::String ^ argsJson, Microsoft::JSInterop::JSCallResultType resultType, long targetInstanceId);
protected abstract string? InvokeJS (string identifier, string? argsJson, Microsoft.JSInterop.JSCallResultType resultType, long targetInstanceId);
abstract member InvokeJS : string * string * Microsoft.JSInterop.JSCallResultType * int64 -> string
Protected MustOverride 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