Share via


SqlNotificationEventArgs Oluşturucu

Tanım

Nesnenin yeni bir örneğini SqlNotificationEventArgs oluşturur.

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)

Parametreler

type
SqlNotificationType

SqlNotificationType değeri, bu bildirimin gerçek bir değişiklik nedeniyle mi yoksa abonelik tarafından mı oluşturulduğunu gösterir.

info
SqlNotificationInfo

SqlNotificationInfo bildirim olayının nedenini gösteren değer. Bu durum, depodaki veriler gerçekten değiştiğinden veya bildirim geçersiz hale geldiğinden (örneğin, zaman aşımına uğradı) oluşabilir.

source
SqlNotificationSource

SqlNotificationSource değeri, bildirimi oluşturan kaynağı gösterir.

Şunlara uygulanır

Ayrıca bkz.