共用方式為


EventCallback<TValue>(IHandleEvent, MulticastDelegate) 建構函式

定義

建立新的 EventCallback<TValue>

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<'Value> : Microsoft.AspNetCore.Components.IHandleEvent * MulticastDelegate -> Microsoft.AspNetCore.Components.EventCallback<'Value>
Public Sub New (receiver As IHandleEvent, delegate As MulticastDelegate)

參數

receiver
IHandleEvent

事件接收者。

delegate
MulticastDelegate

要系結的委派。

適用於