Name

SqlInfoMessageEventHandler

Synopsis

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( )

Get ADO.NET in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.