DbProviderServices.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 virtual void RegisterInfoMessageHandler (System.Data.Common.DbConnection connection, Action<string> handler);
abstract member RegisterInfoMessageHandler : System.Data.Common.DbConnection * Action<string> -> unit
override this.RegisterInfoMessageHandler : System.Data.Common.DbConnection * Action<string> -> unit
Public Overridable Sub RegisterInfoMessageHandler (connection As DbConnection, handler As Action(Of String))
Parameters
- connection
- DbConnection
The connection to receive information for.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework