DotNetDispatcher.Invoke(JSRuntime, DotNetInvocationInfo, String) Method   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Receives a call from JS to .NET, locating and invoking the specified method.
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 -> stringPublic Shared Function Invoke (jsRuntime As JSRuntime, ByRef invocationInfo As DotNetInvocationInfo, argsJson As String) As StringParameters
- invocationInfo
- DotNetInvocationInfo
The DotNetInvocationInfo.
- argsJson
- String
A JSON representation of the parameters.
Returns
A JSON representation of the return value, or null.