EventCallback(IHandleEvent, MulticastDelegate) 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
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
要绑定的委托。