| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- //
- // System.Data.Sql.SqlNotificationRequest
- //
- // Author:
- // Tim Coleman ([email protected])
- //
- // Copyright (C) Tim Coleman, 2003
- //
- #if NET_1_2
- using System;
- namespace System.Data.Sql {
- public class SqlNotificationRequest
- {
- #region Fields
- string id;
- string service;
- int timeout;
- #endregion // Fields
- #region Constructors
- [MonoTODO]
- public SqlNotificationRequest ()
- : this (null, null, 0)
- {
- }
- [MonoTODO]
- public SqlNotificationRequest (string id, string service, int timeout)
- {
- if (service == null)
- throw new ArgumentNullException ();
- if (timeout < 0)
- throw new ArgumentOutOfRangeException ();
- Id = id;
- Service = service;
- Timeout = timeout;
- }
- #endregion // Constructors
- #region Properties
- public string Id {
- get { return id; }
- set { id = value; }
- }
- public string Service {
- get { return service; }
- set { service = value; }
- }
- public int Timeout {
- get { return timeout; }
- set { timeout = value; }
- }
- #endregion // Properties
- }
- }
- #endif
|