dotConnect for MySQL Documentation
Devart.Data.MySql Namespace / MySqlDependency Class / MySqlDependency Constructor / MySqlDependency Constructor(MySqlCommand,Int32)
The MySqlCommand object to watch for.
The interval between two consequent checks in milliseconds.

In This Topic
    MySqlDependency Constructor(MySqlCommand,Int32)
    In This Topic
    Initializes a new instance of the MySqlDependency class with a MySqlCommand object and timeout interval.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal command As MySqlCommand, _
       ByVal timeout As Integer _
    )
    public MySqlDependency( 
       MySqlCommand command,
       int timeout
    )

    Parameters

    command
    The MySqlCommand object to watch for.
    timeout
    The interval between two consequent checks in milliseconds.
    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