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. Bunun nedeni, depodaki verilerin gerçekten değişmesi veya bildirimin geçersiz olması (örneğin, zaman aşımına uğradı) olabilir.

source
SqlNotificationSource

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

Şunlara uygulanır

Ayrıca bkz.