# Class NpgsqlNotificationEventArgs

Namespace
  Npgsql

Assembly
  Npgsql.dll

Provides information on a PostgreSQL notification. Notifications are sent when your connection has registered for notifications on a specific channel via the LISTEN command. NOTIFY can be used to generate such notifications, allowing for an inter-connection communication channel.

    public sealed class NpgsqlNotificationEventArgs : EventArgs

Inheritance
  object
  EventArgs
  NpgsqlNotificationEventArgs

Inherited Members
  EventArgs.Empty
  object.Equals(object)
  object.Equals(object, object)
  object.GetHashCode()
  object.GetType()
  object.ReferenceEquals(object, object)
  object.ToString()

## Properties

### Channel

The channel on which the notification was sent.

    public string Channel { get; }

#### Property Value

string

### PID

Process ID of the PostgreSQL backend that sent this notification.

    public int PID { get; }

#### Property Value

int

### Payload

An optional payload string that was sent with this notification.

    public string Payload { get; }

#### Property Value

string