System.Data.SqlClient.OnChangeEventHandler Delegate

Handles the SqlDependency.OnChange event that is fired when a notification is received for any of the commands associated with a System.Data.SqlClient.SqlDependency object.

Syntax

public delegate void OnChangeEventHandler (object sender, SqlNotificationEventArgs e)

Parameters

sender
Documentation for this section has not yet been entered.
e
Documentation for this section has not yet been entered.

Remarks

The SqlDependency.OnChange event does not necessarily imply a change in the data. Other circumstances, such as time-out expired and failure to set the notification request, also generate SqlDependency.OnChange.

Requirements

Namespace: System.Data.SqlClient
Assembly: System.Data (in System.Data.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0