SqlNotificationEventArgs Класс
Определение
Представляет набор аргументов, передаваемых обработчику событий уведомления.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
- Наследование
Конструкторы
SqlNotificationEventArgs(SqlNotificationType, SqlNotificationInfo, SqlNotificationSource) |
Создает новый экземпляр объекта SqlNotificationEventArgs.Creates a new instance of the SqlNotificationEventArgs object. |
Свойства
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 |
Получает значение, которое указывает источник, создавший уведомление, например изменение данных запроса или состояние базы данных.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 |
Возвращает или задает, указывающее причину, по которой сгенерировано данное уведомление: реальное изменение или подписка.Gets a value that indicates whether this notification is generated because of an actual change, or by the subscription. |
Методы
Equals(Object) |
Определяет, равен ли указанный объект текущему объекту.Determines whether the specified object is equal to the current object. (Унаследовано от Object) |
GetHashCode() |
Служит в качестве хэш-функции по умолчанию.Serves as the default hash function. (Унаследовано от Object) |
GetType() |
Возвращает объект Type для текущего экземпляра.Gets the Type of the current instance. (Унаследовано от Object) |
MemberwiseClone() |
Создает неполную копию текущего объекта Object.Creates a shallow copy of the current Object. (Унаследовано от Object) |
ToString() |
Возвращает строку, представляющую текущий объект.Returns a string that represents the current object. (Унаследовано от Object) |