SqlNotificationEventArgs SqlNotificationEventArgs SqlNotificationEventArgs SqlNotificationEventArgs Class

Definition

Represents the set of arguments passed to the notification event handler.

public ref class SqlNotificationEventArgs : EventArgs
public class SqlNotificationEventArgs : EventArgs
type SqlNotificationEventArgs = class
    inherit EventArgs
Public Class SqlNotificationEventArgs
Inherits EventArgs
Inheritance
SqlNotificationEventArgsSqlNotificationEventArgsSqlNotificationEventArgsSqlNotificationEventArgs

Constructors

SqlNotificationEventArgs(SqlNotificationType, SqlNotificationInfo, SqlNotificationSource) SqlNotificationEventArgs(SqlNotificationType, SqlNotificationInfo, SqlNotificationSource) SqlNotificationEventArgs(SqlNotificationType, SqlNotificationInfo, SqlNotificationSource) SqlNotificationEventArgs(SqlNotificationType, SqlNotificationInfo, SqlNotificationSource)

Creates a new instance of the SqlNotificationEventArgs object.

Properties

Info Info Info Info

Gets a value that indicates the reason for the notification event, such as a row in the database being modified or a table being truncated.

Source Source Source Source

Gets a value that indicates the source that generated the notification, such as a change to the query data or the database's state.

Type Type Type Type

Gets a value that indicates whether this notification is generated because of an actual change, or by the subscription.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also