Jazyk

JSRuntime.BeginInvokeJS Metoda

Definice

Přetížení

Name Description
BeginInvokeJS(JSInvocationInfo)

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

BeginInvokeJS(Int64, String, String)

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

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

Zahájí asynchronní vyvolání funkce typem FunctionCallvolání . Pro další možnosti konfigurace použijte přetížení BeginInvokeJS(JSInvocationInfo).

BeginInvokeJS(JSInvocationInfo)

Zdroj:
JSRuntime.cs
Zdroj:
JSRuntime.cs

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

protected virtual void BeginInvokeJS(in Microsoft.JSInterop.Infrastructure.JSInvocationInfo invocationInfo);
abstract member BeginInvokeJS : JSInvocationInfo -> unit
override this.BeginInvokeJS : JSInvocationInfo -> unit
Protected Overridable Sub BeginInvokeJS (invocationInfo As JSInvocationInfo)

Parametry

invocationInfo
JSInvocationInfo

Konfigurace volání z .NET do JavaScriptu

Platí pro

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
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 virtual void BeginInvokeJS(long taskId, string identifier, string? argsJson);
protected abstract void BeginInvokeJS(long taskId, string identifier, string argsJson);
abstract member BeginInvokeJS : int64 * string * string -> unit
override this.BeginInvokeJS : int64 * string * string -> unit
abstract member BeginInvokeJS : int64 * string * string -> unit
Protected Overridable Sub BeginInvokeJS (taskId As Long, identifier As String, argsJson As String)
Protected MustOverride 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)

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

Zahájí asynchronní vyvolání funkce typem FunctionCallvolání . Pro další možnosti konfigurace použijte přetížení BeginInvokeJS(JSInvocationInfo).

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 výsledku očekávaného od vyvolání.

targetInstanceId
Int64

ID instance cílového objektu JS.

Platí pro