Search Results for

    Show / Hide Table of Contents

    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.

    Inheritance
    object
    NpgsqlNotificationEventArgs
    Namespace: Npgsql
    Assembly: Npgsql.dll
    Syntax
    public sealed class NpgsqlNotificationEventArgs : EventArgs

    Properties

    | Improve this Doc View Source

    AdditionalInformation

    An optional payload string that was sent with this notification.

    Declaration
    public string AdditionalInformation { get; }
    Property Value
    Type Description
    string
    | Improve this Doc View Source

    Channel

    The channel on which the notification was sent.

    Declaration
    public string Channel { get; }
    Property Value
    Type Description
    string
    | Improve this Doc View Source

    Condition

    The channel on which the notification was sent.

    Declaration
    public string Condition { get; }
    Property Value
    Type Description
    string
    | Improve this Doc View Source

    Payload

    An optional payload string that was sent with this notification.

    Declaration
    public string Payload { get; }
    Property Value
    Type Description
    string
    | Improve this Doc View Source

    PID

    Process ID of the PostgreSQL backend that sent this notification.

    Declaration
    public int PID { get; }
    Property Value
    Type Description
    int
    • Improve this Doc
    • View Source
    In This Article
    Back to top © Copyright 2023 The Npgsql Development Team