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
    EventArgs
    NpgsqlNotificationEventArgs
    Inherited Members
    EventArgs.Empty
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    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
    In This Article
    Back to top © Copyright 2022 The Npgsql Development Team