Share via


JSRuntime.BeginInvokeJS 方法

定義

多載

BeginInvokeJS(Int64, String, String)

開始非同步函式調用。

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

開始非同步函式調用。

BeginInvokeJS(Int64, String, String)

來源:
JSRuntime.cs
來源:
JSRuntime.cs
來源:
JSRuntime.cs
來源:
JSRuntime.cs
來源:
JSRuntime.cs
來源:
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 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)

參數

taskId
Int64

函式調用的識別碼,如果沒有非同步回呼,則為零。

identifier
String

要叫用之函式的識別碼。

argsJson
String

引數的 JSON 表示。

適用於

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

來源:
JSRuntime.cs
來源:
JSRuntime.cs
來源:
JSRuntime.cs
來源:
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 -> unit
Protected 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 物件的實例識別碼。

適用於