Sdílet prostřednictvím


JSRuntime.BeginInvokeJS Metoda

Definice

Přetížení

BeginInvokeJS(Int64, String, String)

Zahájí vyvolání asynchronní funkce.

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

Zahájí vyvolání asynchronní funkce.

BeginInvokeJS(Int64, String, String)

Zdroj:
JSRuntime.cs
Zdroj:
JSRuntime.cs
Zdroj:
JSRuntime.cs
Zdroj:
JSRuntime.cs
Zdroj:
JSRuntime.cs
Zdroj:
JSRuntime.cs
Zdroj:
JSRuntime.cs

Zahájí vyvolání asynchronní funkce.

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)

Parametry

taskId
Int64

Identifikátor pro vyvolání funkce nebo nula, pokud se nevyžaduje asynchronní zpětné volání.

identifier
String

Identifikátor funkce, která se má vyvolat.

argsJson
String

Reprezentace argumentů ve formátu JSON

Platí pro

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

Zdroj:
JSRuntime.cs
Zdroj:
JSRuntime.cs
Zdroj:
JSRuntime.cs
Zdroj:
JSRuntime.cs
Zdroj:
JSRuntime.cs

Zahájí vyvolání asynchronní funkce.

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)

Parametry

taskId
Int64

Identifikátor pro vyvolání funkce nebo nula, pokud se nevyžaduje asynchronní zpětné volání.

identifier
String

Identifikátor funkce, která se má vyvolat.

argsJson
String

Reprezentace argumentů ve formátu JSON

resultType
JSCallResultType

Typ výsledku očekávaného od vyvolání.

targetInstanceId
Int64

ID instance cílového objektu JS.

Platí pro