Class NpgsqlNotificationEventArgs
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.
Namespace: Npgsql
Assembly: Npgsql.dll
Syntax
public sealed class NpgsqlNotificationEventArgs : EventArgs
Properties
| Improve this Doc View SourceAdditionalInformation
An optional payload string that was sent with this notification.
Declaration
public string AdditionalInformation { get; }
Property Value
Type | Description |
---|---|
string |
Channel
The channel on which the notification was sent.
Declaration
public string Channel { get; }
Property Value
Type | Description |
---|---|
string |
Condition
The channel on which the notification was sent.
Declaration
public string Condition { get; }
Property Value
Type | Description |
---|---|
string |
Payload
An optional payload string that was sent with this notification.
Declaration
public string Payload { get; }
Property Value
Type | Description |
---|---|
string |
PID
Process ID of the PostgreSQL backend that sent this notification.
Declaration
public int PID { get; }
Property Value
Type | Description |
---|---|
int |