mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 03:51:19 -10:00
* DataAccessKind.cs Format.cs IBinarySerialize.cs
* InvalidUdtException.cs ISqlCommand.cs ISqlConnection.cs
* ISqlExecutionContext.cs ISqlGetTypedData.cs
* ISqlParameterCollection.cs ISqlParameter.cs ISqlReader.cs
* ISqlRecord.cs ISqlResultSet.cs ISqlSetTypedData.cs
* ISqlTransaction.cs ISqlUpdatableRecord.cs SerializationHelper.cs
* SerializationVersion.cs SqlContextBase.cs SqlDataSourceEnumerator.cs
* SqlDefinition.cs SqlFunctionAttribute.cs SqlMetaData.cs
* SqlMethodAttribute.cs SqlNotificationRequest.cs SqlPipeBase.cs
* SqlServerFactoryBase.cs SqlTriggerContextBase.cs
* SqlUserDefinedAggregateAttribute.cs SqlUserDefinedTypeAttribute.cs
* SystemDataAccessKind.cs TriggerAction.cs:
New stubs added
svn path=/trunk/mcs/; revision=21366
70 lines
1.0 KiB
C#
70 lines
1.0 KiB
C#
//
|
|
// 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
|