SqlCeProviderServices.RegisterInfoMessageHandler Method (DbConnection, Action<String>)

 

Registers a handler to process non-error messages coming from the database provider.

Namespace:   System.Data.Entity.SqlServerCompact
Assembly:  EntityFramework.SqlServerCompact (in EntityFramework.SqlServerCompact.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.