SqlProviderServices.RegisterInfoMessageHandler Method (DbConnection, Action<String>)
Registers a handler to process non-error messages coming from the database provider.
Assembly: EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)
public override void RegisterInfoMessageHandler( DbConnection connection, Action<string> handler )
Parameters
- connection
-
Type:
System.Data.Common.DbConnection
The connection to receive information for.
- handler
-
Type:
System.Action<String>
The handler to process messages.