SqlNotificationEventArgs Конструктор

Определение

Создает новый экземпляр объекта SqlNotificationEventArgs.

public:
 SqlNotificationEventArgs(System::Data::SqlClient::SqlNotificationType type, System::Data::SqlClient::SqlNotificationInfo info, System::Data::SqlClient::SqlNotificationSource source);
public SqlNotificationEventArgs (System.Data.SqlClient.SqlNotificationType type, System.Data.SqlClient.SqlNotificationInfo info, System.Data.SqlClient.SqlNotificationSource source);
new System.Data.SqlClient.SqlNotificationEventArgs : System.Data.SqlClient.SqlNotificationType * System.Data.SqlClient.SqlNotificationInfo * System.Data.SqlClient.SqlNotificationSource -> System.Data.SqlClient.SqlNotificationEventArgs
Public Sub New (type As SqlNotificationType, info As SqlNotificationInfo, source As SqlNotificationSource)

Параметры

type
SqlNotificationType

Значение SqlNotificationType, указывающее причину, по которой сгенерировано данное уведомление: реальное изменение или подписка.

info
SqlNotificationInfo

Значение SqlNotificationInfo, указывающее причину, по которой сгенерировано данное уведомление. Это может быть реальное изменение данных в хранилище или тот факт, что уведомление стало недействительным (например, из-за таймаута).

source
SqlNotificationSource

Значение SqlNotificationSource, указывающее источник, сгенерировавший данное уведомление.

Применяется к

См. также раздел