VistaDB 6
VistaDB.Entity Namespace / VistaDBProviderServices Class / RegisterInfoMessageHandler Method
The connection to receive information for.
The handler to process messages.


In This Topic
    RegisterInfoMessageHandler Method
    In This Topic
    Registers a handler to process non-error messages coming from the database provider.
    Syntax
    'Declaration
     
    
    Public Sub RegisterInfoMessageHandler( _
       ByVal connection As System.Data.Common.DbConnection, _
       ByVal handler As System.Action(Of String) _
    ) 
    'Usage
     
    
    Dim instance As VistaDBProviderServices
    Dim connection As System.Data.Common.DbConnection
    Dim handler As System.Action(Of String)
     
    instance.RegisterInfoMessageHandler(connection, handler)
    public void RegisterInfoMessageHandler( 
       System.Data.Common.DbConnection connection,
       System.Action<string> handler
    )

    Parameters

    connection
    The connection to receive information for.
    handler
    The handler to process messages.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also