StatementCompletedEventHandler Delegate


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

The delegate type for the event handlers of the StatementCompleted event.

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

public delegate void StatementCompletedEventHandler(
	Object^ sender,
	StatementCompletedEventArgs^ e


Type: System::Object^

The source of the event.

Type: System.Data::StatementCompletedEventArgs^

The data for the event.

When you create a StatementCompletedEventHandler delegate, you identify the method that will handle the event. To associate the event with your event handler, add an instance of the delegate to the event. The event handler is called whenever the event occurs, unless you remove the delegate. For more information about event handler delegates, see NIB: Events and Delegates.

.NET Framework
Available since 2.0
Return to top