dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleDependency Class / OracleDependency Constructor / OracleDependency Constructor(OracleCommand,Boolean,Int32,Boolean)
An OracleCommand object to bind.
true, if the registration is to be removed upon notification; otherwise, false.
Specifies the time in seconds that the registration remains alive.
true, if invalidation message should be queued persistently in the database before delivery; otherwise, false.

In This Topic
    OracleDependency Constructor(OracleCommand,Boolean,Int32,Boolean)
    In This Topic
    Initializes a new instance of the OracleDependency class, binds an OracleCommand object, and adjusts some parameters.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal cmd As OracleCommand, _
       ByVal isNotifiedOnce As Boolean, _
       ByVal timeout As Integer, _
       ByVal isPersistent As Boolean _
    )
    public OracleDependency( 
       OracleCommand cmd,
       bool isNotifiedOnce,
       int timeout,
       bool isPersistent
    )

    Parameters

    cmd
    An OracleCommand object to bind.
    isNotifiedOnce
    true, if the registration is to be removed upon notification; otherwise, false.
    timeout
    Specifies the time in seconds that the registration remains alive.
    isPersistent
    true, if invalidation message should be queued persistently in the database before delivery; otherwise, false.
    Remarks

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

    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