SqlNotificationEventArgs Konstruktor

Definition

Skapar en ny instans av SqlNotificationEventArgs objektet.

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)

Parametrar

type
SqlNotificationType

SqlNotificationType värde som anger om det här meddelandet genereras på grund av en faktisk ändring eller av prenumerationen.

info
SqlNotificationInfo

SqlNotificationInfo värde som anger orsaken till meddelandehändelsen. Detta kan inträffa på grund av att data i arkivet faktiskt har ändrats eller att meddelandet blev ogiltigt (till exempel att tidsgränsen överskrids).

source
SqlNotificationSource

SqlNotificationSource värde som anger källan som genererade meddelandet.

Gäller för

Se även