JSRuntime.BeginInvokeJS 方法  
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| BeginInvokeJS(Int64, String, String) | 开始异步函数调用。 | 
| BeginInvokeJS(Int64, String, String, JSCallResultType, Int64) | 开始异步函数调用。 | 
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
- Source:
- JSRuntime.cs
开始异步函数调用。
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 -> unitabstract member BeginInvokeJS : int64 * string * string -> unitProtected 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)参数
- taskId
- Int64
函数调用的标识符;如果不需要异步回调,则为零。
- identifier
- String
要调用的函数的标识符。
- argsJson
- String
参数的 JSON 表示形式。
适用于
BeginInvokeJS(Int64, String, String, JSCallResultType, Int64)
- Source:
- JSRuntime.cs
- Source:
- JSRuntime.cs
- Source:
- JSRuntime.cs
- Source:
- JSRuntime.cs
- Source:
- JSRuntime.cs
- Source:
- JSRuntime.cs
开始异步函数调用。
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 -> unitProtected MustOverride Sub BeginInvokeJS (taskId As Long, identifier As String, argsJson As String, resultType As JSCallResultType, targetInstanceId As Long)参数
- taskId
- Int64
函数调用的标识符;如果不需要异步回调,则为零。
- identifier
- String
要调用的函数的标识符。
- argsJson
- String
参数的 JSON 表示形式。
- resultType
- JSCallResultType
预期来自调用的结果的类型。
- targetInstanceId
- Int64
目标 JS 对象的实例 ID。