SqlNotificationEventArgs Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the set of arguments passed to the notification event handler.
For new development, use Microsoft.Data.SqlClient. This page documents System.Data.SqlClient.
public ref class SqlNotificationEventArgs : EventArgs
public class SqlNotificationEventArgs : EventArgs
type SqlNotificationEventArgs = class
inherit EventArgs
Public Class SqlNotificationEventArgs
Inherits EventArgs
- Inheritance
Constructors
| Name | Description |
|---|---|
| SqlNotificationEventArgs(SqlNotificationType, SqlNotificationInfo, SqlNotificationSource) |
Creates a new instance of the SqlNotificationEventArgs object. For new development, use Microsoft.Data.SqlClient. This page documents System.Data.SqlClient. |
Properties
| Name | Description |
|---|---|
| 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. For new development, use Microsoft.Data.SqlClient. This page documents System.Data.SqlClient. |
| 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. For new development, use Microsoft.Data.SqlClient. This page documents System.Data.SqlClient. |
| Type |
Gets a value that indicates whether this notification is generated because of an actual change, or by the subscription. For new development, use Microsoft.Data.SqlClient. This page documents System.Data.SqlClient. |
Methods
| Name | Description |
|---|---|
| Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
| GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
| GetType() |
Gets the Type of the current instance. (Inherited from Object) |
| MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
| ToString() |
Returns a string that represents the current object. (Inherited from Object) |