共用方式為


DotNetDispatcher.BeginInvokeDotNet 方法

定義

接收從 JS 到 .NET 的呼叫,以非同步方式尋找並叫用指定的方法。

public:
 static void BeginInvokeDotNet(Microsoft::JSInterop::JSRuntime ^ jsRuntime, Microsoft::JSInterop::Infrastructure::DotNetInvocationInfo invocationInfo, System::String ^ argsJson);
public static void BeginInvokeDotNet (Microsoft.JSInterop.JSRuntime jsRuntime, Microsoft.JSInterop.Infrastructure.DotNetInvocationInfo invocationInfo, string argsJson);
static member BeginInvokeDotNet : Microsoft.JSInterop.JSRuntime * Microsoft.JSInterop.Infrastructure.DotNetInvocationInfo * string -> unit
Public Shared Sub BeginInvokeDotNet (jsRuntime As JSRuntime, invocationInfo As DotNetInvocationInfo, argsJson As String)

參數

jsRuntime
JSRuntime

JSRuntime

argsJson
String

參數的 JSON 標記法。

適用於