JSRuntime.BeginInvokeJS Metoda

Definice

Přetížení

BeginInvokeJS(Int64, String, String)

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

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

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

BeginInvokeJS(Int64, String, String)

Zahájí asynchronní vyvolání 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 vyvolání funkce nebo nula, pokud není vyžadován žádný 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)

Zahájí asynchronní vyvolání 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 vyvolání funkce nebo nula, pokud není vyžadován žádný 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 očekávaného výsledku od vyvolání.

targetInstanceId
Int64

ID instance cílového objektu JS.

Platí pro