DbProviderServices.RegisterInfoMessageHandler Method (DbConnection, Action<String>)
Registers a handler to process non-error messages coming from the database provider.
Assembly: EntityFramework (in EntityFramework.dll)
public virtual 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.