Table of Contents

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

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