DotNetDispatcher Class
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.
Provides methods that receive incoming calls from JS to .NET.
public ref class DotNetDispatcher abstract sealed
public static class DotNetDispatcher
type DotNetDispatcher = class
Public Class DotNetDispatcher
- Inheritance
-
DotNetDispatcher
Methods
BeginInvokeDotNet(JSRuntime, DotNetInvocationInfo, String) |
Receives a call from JS to .NET, locating and invoking the specified method asynchronously. |
EndInvokeJS(JSRuntime, String) |
Receives notification that a call from .NET to JS has finished, marking the associated Task as completed. |
Invoke(JSRuntime, DotNetInvocationInfo, String) |
Receives a call from JS to .NET, locating and invoking the specified method. |
ReceiveByteArray(JSRuntime, Int32, Byte[]) |
Accepts the byte array data being transferred from JS to DotNet. |