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.
Inherited Members
Namespace: Npgsql
Assembly: Npgsql.dll
Syntax
public sealed class NpgsqlNotificationEventArgs : EventArgs
Properties
AdditionalInformation
An optional payload string that was sent with this notification.
Declaration
[Obsolete("Use Payload instead")]
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
[Obsolete("Use Channel instead")]
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 |
---|---|
Int32 |