SqlNotificationEventArgs Konstruktor

Definíció

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.

A következőre érvényes:

Lásd még