Table of Contents

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 object

The source of the event.

e NpgsqlNotificationEventArgs

A NpgsqlNotificationEventArgs that contains the notification payload.

Constructors

NotificationEventHandler(object, nint)

public NotificationEventHandler(object @object, nint method)

Parameters

object object
method nint

Methods

BeginInvoke(object, NpgsqlNotificationEventArgs, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(object sender, NpgsqlNotificationEventArgs e, AsyncCallback callback, object @object)

Parameters

sender object
e NpgsqlNotificationEventArgs
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual void EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Invoke(object, NpgsqlNotificationEventArgs)

public virtual void Invoke(object sender, NpgsqlNotificationEventArgs e)

Parameters

sender object
e NpgsqlNotificationEventArgs