''SqlInfoMessageEventHandler'' ''serializable'

SqlInfoMessageEventHandler serializable

System.Data.SqlClient (system.data.dll) delegate

This delegate defines the method that will handle the SqlConnection.InfoMessage event. This event fires whenever a message is received from the data source that has a severity of 10 or less (and is thus an informational message, not an error). Messages with higher severities are interpreted as errors and cause a SqlException to be thrown instead.

public delegate void SqlInfoMessageEventHandler(object sender, SqlInfoMessageEventArgs e);

Associated Events

SqlConnection.InfoMessage( )



    Part I: ADO.NET Tutorial
    Part II: ADO.NET Core Classes
    Part III: API Quick Reference
    Chapter 34. The System.Data Namespace