Share via


DotNetDispatcher Class

Definition

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.

Applies to