EventCallback(IHandleEvent, MulticastDelegate) 构造函数

定义

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)

参数

receiver
IHandleEvent

事件接收器。

delegate
MulticastDelegate

要绑定的委托。

适用于