JSInProcessRuntime.InvokeJS Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
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
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla