Delegate NotificationEventHandler
- Namespace
- Npgsql
- Assembly
- Npgsql.dll
Represents a method that handles the Notification event.
public delegate void NotificationEventHandler(object sender, NpgsqlNotificationEventArgs e)
Parameters
sender
objectThe source of the event.
e
NpgsqlNotificationEventArgsA 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
sender
objecte
NpgsqlNotificationEventArgscallback
AsyncCallbackobject
object
Returns
EndInvoke(IAsyncResult)
public virtual void EndInvoke(IAsyncResult result)
Parameters
result
IAsyncResult
Invoke(object, NpgsqlNotificationEventArgs)
public virtual void Invoke(object sender, NpgsqlNotificationEventArgs e)
Parameters
sender
objecte
NpgsqlNotificationEventArgs