JSRuntime.BeginInvokeJS Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
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:
- JSRuntime.cs
Inicia uma invocação de função assíncrona.
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)
Parâmetros
- invocationInfo
- JSInvocationInfo
Configuração da chamada de interoperabilidade de .NET para JavaScript.
Aplica-se a
BeginInvokeJS(Int64, String, String)
- Origem:
- JSRuntime.cs
- Origem:
- JSRuntime.cs
- Origem:
- JSRuntime.cs
- Origem:
- JSRuntime.cs
- Origem:
- JSRuntime.cs
- Origem:
- JSRuntime.cs
- Origem:
- JSRuntime.cs
- Origem:
- JSRuntime.cs
Inicia uma invocação de função assíncrona.
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)
Parâmetros
- taskId
- Int64
O identificador da invocação de função ou zero se nenhum retorno de chamada assíncrono for necessário.
- 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:
- JSRuntime.cs
- Origem:
- JSRuntime.cs
- Origem:
- JSRuntime.cs
- Origem:
- JSRuntime.cs
- Origem:
- JSRuntime.cs
- Origem:
- JSRuntime.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:
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)
Parâmetros
- taskId
- Int64
O identificador da invocação de função ou zero se nenhum retorno de chamada assíncrono for necessário.
- 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.