SqlNotificationRequest
namespace System.Data.Sql
{
[Obsolete("Use the Microsoft.Data.SqlClient package instead.")]
public sealed class SqlNotificationRequest
{
public string Options {
get {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
set {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
}
public int Timeout {
get {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
set {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
}
public string UserData {
get {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
set {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
}
public SqlNotificationRequest()
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
public SqlNotificationRequest(string userData, string options, int timeout)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient);
}
}
}