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 значение, указывающее источник, создающий уведомление.

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

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