Share via


EventCallback(IHandleEvent, MulticastDelegate) Constructor

Definition

Creates the new EventCallback.

public:
 EventCallback(Microsoft::AspNetCore::Components::IHandleEvent ^ receiver, MulticastDelegate ^ delegate);
public EventCallback (Microsoft.AspNetCore.Components.IHandleEvent receiver, MulticastDelegate delegate);
public EventCallback (Microsoft.AspNetCore.Components.IHandleEvent? receiver, MulticastDelegate? delegate);
new Microsoft.AspNetCore.Components.EventCallback : Microsoft.AspNetCore.Components.IHandleEvent * MulticastDelegate -> Microsoft.AspNetCore.Components.EventCallback
Public Sub New (receiver As IHandleEvent, delegate As MulticastDelegate)

Parameters

receiver
IHandleEvent

The event receiver.

delegate
MulticastDelegate

The delegate to bind.

Applies to