dotConnect for MySQL Documentation
Devart.Data.MySql Namespace / MySqlDependency Class / MySqlDependency Constructor / MySqlDependency Constructor(MySqlCommand,Int32,MySqlDependencyCheckType)
The MySqlCommand object to watch for.
The interval between two consequent checks in milliseconds.
The check method to use for checking tables for changes. See MySqlDependencyCheckType for more details.

In This Topic
    MySqlDependency Constructor(MySqlCommand,Int32,MySqlDependencyCheckType)
    In This Topic
    Initializes a new instance of the MySqlDependency class with a MySqlCommand object and timeout interval and specifies the check method to use for checking tables for changes.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal command As MySqlCommand, _
       ByVal timeout As Integer, _
       ByVal checkType As MySqlDependencyCheckType _
    )
    public MySqlDependency( 
       MySqlCommand command,
       int timeout,
       MySqlDependencyCheckType checkType
    )

    Parameters

    command
    The MySqlCommand object to watch for.
    timeout
    The interval between two consequent checks in milliseconds.
    checkType
    The check method to use for checking tables for changes. See MySqlDependencyCheckType for more details.
    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