Delegate EventDelegate
Invokes the next event handler with the specified event context.
public delegate object? EventDelegate(EventContext context)
Parameters
contextEventContextThe event context.
Returns
- object
The return value of the event.
Constructors
EventDelegate(object, nint)
public EventDelegate(object @object, nint method)
Parameters
Methods
BeginInvoke(EventContext, AsyncCallback, object)
public virtual IAsyncResult BeginInvoke(EventContext context, AsyncCallback callback, object @object)
Parameters
contextEventContextcallbackAsyncCallbackobjectobject
Returns
EndInvoke(IAsyncResult)
public virtual object? EndInvoke(IAsyncResult result)
Parameters
resultIAsyncResult
Returns
Invoke(EventContext)
public virtual object? Invoke(EventContext context)
Parameters
contextEventContext