SqlNotificationEventArgs Oluşturucu
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
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.