Compartir a través de


DotNetDispatcher.Invoke(JSRuntime, DotNetInvocationInfo, String) Método

Definición

Recibe una llamada de JS a .NET, localizando e invocando el método especificado.

public:
 static System::String ^ Invoke(Microsoft::JSInterop::JSRuntime ^ jsRuntime, Microsoft::JSInterop::Infrastructure::DotNetInvocationInfo % invocationInfo, System::String ^ argsJson);
public static string? Invoke(Microsoft.JSInterop.JSRuntime jsRuntime, in Microsoft.JSInterop.Infrastructure.DotNetInvocationInfo invocationInfo, string argsJson);
public static string Invoke(Microsoft.JSInterop.JSRuntime jsRuntime, in Microsoft.JSInterop.Infrastructure.DotNetInvocationInfo invocationInfo, string argsJson);
static member Invoke : Microsoft.JSInterop.JSRuntime * DotNetInvocationInfo * string -> string
Public Shared Function Invoke (jsRuntime As JSRuntime, ByRef invocationInfo As DotNetInvocationInfo, argsJson As String) As String

Parámetros

jsRuntime
JSRuntime

JSRuntime.

argsJson
String

Representación JSON de los parámetros.

Devoluciones

Representación JSON del valor devuelto o null.

Se aplica a