dotConnect for MySQL Documentation
Devart.Data.MySql Namespace / MySqlDependency Class / OnCheck Event

In This Topic
    OnCheck Event
    In This Topic
    Occurs when MySqlDependency checks status of a table.
    Syntax
    'Declaration
     
    Public Event OnCheck As OnCheckEventHandler
    public event OnCheckEventHandler OnCheck
    Event Data

    The event handler receives an argument of type OnCheckEventArgs containing data related to this event. The following OnCheckEventArgs properties provide information specific to this event.

    PropertyDescription
    Gets or sets MySqlCommand object you can use in the handler.  
    Gets the check method, specified in MySqlDependency for the command.  
    Gets MySqlCommand object associated with the table that was modified on the server.  
    Gets the MySqlConnection used by MySqlDependency object.  
    Gets or sets a string value that can be used to identify state of a table.  
    Gets or sets a string description that is passed to OnChange handler.  
    Gets a DataTable object that describes structure of the table.  
    Gets name of the table being watched.  
    Remarks

    Use this event to determine whether the table being watched has changes.

    The event invokes a OnCheckEventHandler with an argument of type OnCheckEventArgs.

    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