Delegate NotificationEventHandler
- Namespace
- Npgsql
- Assembly
- Npgsql.dll
Represents a method that handles the Notification event.
public delegate void NotificationEventHandler(object sender, NpgsqlNotificationEventArgs e)
Parameters
senderobjectThe source of the event.
eNpgsqlNotificationEventArgsA NpgsqlNotificationEventArgs that contains the notification payload.
Constructors
NotificationEventHandler(object, nint)
public NotificationEventHandler(object @object, nint method)
Parameters
Methods
BeginInvoke(object, NpgsqlNotificationEventArgs, AsyncCallback, object)
public virtual IAsyncResult BeginInvoke(object sender, NpgsqlNotificationEventArgs e, AsyncCallback callback, object @object)
Parameters
senderobjecteNpgsqlNotificationEventArgscallbackAsyncCallbackobjectobject
Returns
EndInvoke(IAsyncResult)
public virtual void EndInvoke(IAsyncResult result)
Parameters
resultIAsyncResult
Invoke(object, NpgsqlNotificationEventArgs)
public virtual void Invoke(object sender, NpgsqlNotificationEventArgs e)
Parameters
senderobjecteNpgsqlNotificationEventArgs