'Declaration Public Function New( _ ByVal cmd As OracleCommand _ )
public OracleDependency( OracleCommand cmd )
Parameters
- cmd
- An OracleCommand object to bind.
'Declaration Public Function New( _ ByVal cmd As OracleCommand _ )
public OracleDependency( OracleCommand cmd )
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.
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