Udostępnij za pośrednictwem


WebAssemblyJSRuntime.BeginInvokeJS Metoda

Definicja

Przeciążenia

Nazwa Opis
BeginInvokeJS(JSInvocationInfo)

Rozpoczyna wywołanie funkcji asynchronicznej.

BeginInvokeJS(Int64, String, String)

Rozpoczyna wywołanie funkcji asynchronicznej.

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

Rozpoczyna wywołanie funkcji asynchronicznej z typem FunctionCallwywołania . Aby uzyskać więcej opcji konfiguracji, użyj przeciążenia BeginInvokeJS(JSInvocationInfo).

BeginInvokeJS(JSInvocationInfo)

Źródło:
WebAssemblyJSRuntime.cs

Rozpoczyna wywołanie funkcji asynchronicznej.

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

Parametry

invocationInfo
JSInvocationInfo

Konfiguracja wywołania międzyoperacyjnego z platformy .NET do języka JavaScript.

Dotyczy

BeginInvokeJS(Int64, String, String)

Źródło:
WebAssemblyJSRuntime.cs

Rozpoczyna wywołanie funkcji asynchronicznej.

protected:
 override void BeginInvokeJS(long asyncHandle, System::String ^ identifier, System::String ^ argsJson);
protected override void BeginInvokeJS(long asyncHandle, string identifier, string argsJson);
override this.BeginInvokeJS : int64 * string * string -> unit
Protected Overrides Sub BeginInvokeJS (asyncHandle As Long, identifier As String, argsJson As String)

Parametry

asyncHandle
Int64
identifier
String

Identyfikator funkcji do wywołania.

argsJson
String

Reprezentacja JSON argumentów.

Dotyczy

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

Źródło:
WebAssemblyJSRuntime.cs
Źródło:
WebAssemblyJSRuntime.cs
Źródło:
WebAssemblyJSRuntime.cs
Źródło:
WebAssemblyJSRuntime.cs
Źródło:
WebAssemblyJSRuntime.cs
Źródło:
WebAssemblyJSRuntime.cs

Rozpoczyna wywołanie funkcji asynchronicznej z typem FunctionCallwywołania . Aby uzyskać więcej opcji konfiguracji, użyj przeciążenia BeginInvokeJS(JSInvocationInfo).

protected override void BeginInvokeJS(long asyncHandle, string identifier, string? argsJson, Microsoft.JSInterop.JSCallResultType resultType, long targetInstanceId);
protected override void BeginInvokeJS(long asyncHandle, string identifier, string argsJson, Microsoft.JSInterop.JSCallResultType resultType, long targetInstanceId);
override this.BeginInvokeJS : int64 * string * string * Microsoft.JSInterop.JSCallResultType * int64 -> unit
Protected Overrides Sub BeginInvokeJS (asyncHandle As Long, identifier As String, argsJson As String, resultType As JSCallResultType, targetInstanceId As Long)

Parametry

asyncHandle
Int64
identifier
String

Identyfikator funkcji do wywołania.

argsJson
String

Reprezentacja JSON argumentów.

resultType
JSCallResultType

Typ wyniku oczekiwany z wywołania.

targetInstanceId
Int64

Identyfikator wystąpienia docelowego obiektu JS.

Dotyczy