Compartilhar via


WebAssemblyJSRuntime.BeginInvokeJS Método

Definição

Sobrecargas

Nome Description
BeginInvokeJS(JSInvocationInfo)

Inicia uma invocação de função assíncrona.

BeginInvokeJS(Int64, String, String)

Inicia uma invocação de função assíncrona.

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

Inicia uma invocação de função assíncrona com o tipo FunctionCallde chamada. Para obter mais opções de configuração, use a sobrecarga BeginInvokeJS(JSInvocationInfo).

BeginInvokeJS(JSInvocationInfo)

Origem:
WebAssemblyJSRuntime.cs

Inicia uma invocação de função assíncrona.

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

Parâmetros

invocationInfo
JSInvocationInfo

Configuração da chamada de interoperabilidade de .NET para JavaScript.

Aplica-se a

BeginInvokeJS(Int64, String, String)

Origem:
WebAssemblyJSRuntime.cs

Inicia uma invocação de função assíncrona.

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)

Parâmetros

asyncHandle
Int64
identifier
String

O identificador para a função a ser invocada.

argsJson
String

Uma representação JSON dos argumentos.

Aplica-se a

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

Origem:
WebAssemblyJSRuntime.cs
Origem:
WebAssemblyJSRuntime.cs
Origem:
WebAssemblyJSRuntime.cs
Origem:
WebAssemblyJSRuntime.cs
Origem:
WebAssemblyJSRuntime.cs
Origem:
WebAssemblyJSRuntime.cs

Inicia uma invocação de função assíncrona com o tipo FunctionCallde chamada. Para obter mais opções de configuração, use a sobrecarga 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)

Parâmetros

asyncHandle
Int64
identifier
String

O identificador para a função a ser invocada.

argsJson
String

Uma representação JSON dos argumentos.

resultType
JSCallResultType

O tipo de resultado esperado da invocação.

targetInstanceId
Int64

A ID da instância do objeto JS de destino.

Aplica-se a