SqlNotificationEventArgs Konstruktor
Definíció
Fontos
Egyes információk olyan, kiadás előtti termékekre vonatkoznak, amelyek a kiadásig még jelentősen módosulhatnak. A Microsoft nem vállal kifejezett vagy törvényi garanciát az itt megjelenő információért.
Létrehozza az objektum új példányát 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)
Paraméterek
- type
- SqlNotificationType
SqlNotificationType érték, amely azt jelzi, hogy ez az értesítés egy tényleges változás vagy az előfizetés miatt jön-e létre.
- info
- SqlNotificationInfo
SqlNotificationInfo az értesítési esemény okát jelző érték. Ez azért fordulhat elő, mert az áruház adatai ténylegesen megváltoztak, vagy az értesítés érvénytelen lett (például időtúllépés történt).
- source
- SqlNotificationSource
SqlNotificationSource értéket, amely az értesítést létrehozó forrást jelzi.