OnChangeEventHandler Delegate

OnChangeEventHandler Delegate

 

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

Namespace:   System.Data.SqlClient
Assembly:  System.Data (in System.Data.dll)

public delegate void OnChangeEventHandler(
	Object^ sender,
	SqlNotificationEventArgs^ e
)

Parameters

sender
Type: System::Object^

The source of the event.

e
Type: System.Data.SqlClient::SqlNotificationEventArgs^

A SqlNotificationEventArgs object that contains the event data.

The 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 OnChange.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft