dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleDependency Class / OracleDependency Constructor / OracleDependency Constructor(OracleCommand)
An OracleCommand object to bind.

In This Topic
    OracleDependency Constructor(OracleCommand)
    In This Topic
    Initializes a new instance of the OracleDependency class and binds an OracleCommand object.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal cmd As OracleCommand _
    )
    public OracleDependency( 
       OracleCommand cmd
    )

    Parameters

    cmd
    An OracleCommand object to bind.
    Remarks

    The OracleDependency registers the notification for the attached OracleCommand object when either of its Execute methods is invoked.

    This constructor uses the default values for OracleNotificationRequest properties. The OracleNotificationRequest.IsNotifiedOnce is set to true, OracleNotificationRequest.IsPersistent is set to false, and OracleNotificationRequest.Timeout is set to 50000 seconds. In other words, this overload creates a one-time notification request that is valid for approximately 14 hours.

    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