SqlProviderServices.RegisterInfoMessageHandler Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Registers a handler to process non-error messages coming from the database provider.
public override void RegisterInfoMessageHandler(System.Data.Common.DbConnection connection, Action<string> handler);
override this.RegisterInfoMessageHandler : System.Data.Common.DbConnection * Action<string> -> unit
Public Overrides Sub RegisterInfoMessageHandler (connection As DbConnection, handler As Action(Of String))
Parameters
- connection
- DbConnection
The connection to receive information for.