Share via


JSRuntime.BeginInvokeJS Method

Definition

Overloads

BeginInvokeJS(Int64, String, String)

Begins an asynchronous function invocation.

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

Begins an asynchronous function invocation.

BeginInvokeJS(Int64, String, String)

Source:
JSRuntime.cs
Source:
JSRuntime.cs
Source:
JSRuntime.cs
Source:
JSRuntime.cs
Source:
JSRuntime.cs
Source:
JSRuntime.cs
Source:
JSRuntime.cs

Begins an asynchronous function invocation.

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)

Parameters

taskId
Int64

The identifier for the function invocation, or zero if no async callback is required.

identifier
String

The identifier for the function to invoke.

argsJson
String

A JSON representation of the arguments.

Applies to

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

Source:
JSRuntime.cs
Source:
JSRuntime.cs
Source:
JSRuntime.cs
Source:
JSRuntime.cs
Source:
JSRuntime.cs

Begins an asynchronous function invocation.

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)

Parameters

taskId
Int64

The identifier for the function invocation, or zero if no async callback is required.

identifier
String

The identifier for the function to invoke.

argsJson
String

A JSON representation of the arguments.

resultType
JSCallResultType

The type of result expected from the invocation.

targetInstanceId
Int64

The instance ID of the target JS object.

Applies to