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
-
NpgsqlNotificationEventArgs
- Inherited Members
Properties
Channel
The channel on which the notification was sent.
public string Channel { get; }
Property Value
PID
Process ID of the PostgreSQL backend that sent this notification.
public int PID { get; }
Property Value
Payload
An optional payload string that was sent with this notification.
public string Payload { get; }