Bahasa

WebAssemblyJSRuntime.BeginInvokeJS Metode

Definisi

Overload

Nama Deskripsi
BeginInvokeJS(JSInvocationInfo)

Memulai pemanggilan fungsi asinkron.

BeginInvokeJS(Int64, String, String)

Memulai pemanggilan fungsi asinkron.

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

Memulai pemanggilan fungsi asinkron dengan jenis FunctionCallpanggilan . Untuk opsi konfigurasi lainnya, gunakan kelebihan beban BeginInvokeJS(JSInvocationInfo).

BeginInvokeJS(JSInvocationInfo)

Sumber:
WebAssemblyJSRuntime.cs
Sumber:
WebAssemblyJSRuntime.cs

Memulai pemanggilan fungsi asinkron.

protected override void BeginInvokeJS(in Microsoft.JSInterop.Infrastructure.JSInvocationInfo invocationInfo);
override this.BeginInvokeJS : JSInvocationInfo -> unit
Protected Overrides Sub BeginInvokeJS (invocationInfo As JSInvocationInfo)

Parameter

invocationInfo
JSInvocationInfo

Konfigurasi panggilan interop dari .NET ke JavaScript.

Berlaku untuk

BeginInvokeJS(Int64, String, String)

Sumber:
WebAssemblyJSRuntime.cs

Memulai pemanggilan fungsi asinkron.

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)

Parameter

asyncHandle
Int64
identifier
String

Pengidentifikasi untuk fungsi yang akan dipanggil.

argsJson
String

Representasi JSON dari argumen.

Berlaku untuk

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

Sumber:
WebAssemblyJSRuntime.cs
Sumber:
WebAssemblyJSRuntime.cs
Sumber:
WebAssemblyJSRuntime.cs
Sumber:
WebAssemblyJSRuntime.cs
Sumber:
WebAssemblyJSRuntime.cs
Sumber:
WebAssemblyJSRuntime.cs
Sumber:
WebAssemblyJSRuntime.cs

Memulai pemanggilan fungsi asinkron dengan jenis FunctionCallpanggilan . Untuk opsi konfigurasi lainnya, gunakan kelebihan beban BeginInvokeJS(JSInvocationInfo).

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)

Parameter

asyncHandle
Int64
identifier
String

Pengidentifikasi untuk fungsi yang akan dipanggil.

argsJson
String

Representasi JSON dari argumen.

resultType
JSCallResultType

Jenis hasil yang diharapkan dari pemanggilan.

targetInstanceId
Int64

ID instans objek JS target.

Berlaku untuk