WebAssemblyJSRuntime.BeginInvokeJS 方法

定义

重载

BeginInvokeJS(Int64, String, String)

开始异步函数调用。

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

开始异步函数调用。

BeginInvokeJS(Int64, String, String)

Source:
WebAssemblyJSRuntime.cs

开始异步函数调用。

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)

参数

asyncHandle
Int64
identifier
String

要调用的函数的标识符。

argsJson
String

参数的 JSON 表示形式。

适用于

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

Source:
WebAssemblyJSRuntime.cs
Source:
WebAssemblyJSRuntime.cs
Source:
WebAssemblyJSRuntime.cs
Source:
WebAssemblyJSRuntime.cs

开始异步函数调用。

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)

参数

asyncHandle
Int64
identifier
String

要调用的函数的标识符。

argsJson
String

参数的 JSON 表示形式。

resultType
JSCallResultType

预期来自调用的结果的类型。

targetInstanceId
Int64

目标 JS 对象的实例 ID。

适用于