net9.0
namespace Microsoft.Data.SqlClient
{
public sealed class SqlException : DbException
{
[Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
public override void GetObjectData(SerializationInfo si, StreamingContext context);
}
}
.NET | 5.06.07.08.09.0 |
---|---|
.NET Core | 2.02.12.23.03.1 |
.NET Framework | 4.6.14.6.24.74.7.14.7.24.84.8.1 |
.NET Standard | 2.02.1 |
Information specific to net9.0 | |
Assemblies | Microsoft.Data.SqlClient , Version=6.0.0.0, PublicKeyToken=23ec7fc2d6eaa4a5 Microsoft.Data.SqlClient , Version=5.0.0.0, PublicKeyToken=23ec7fc2d6eaa4a5 |
Referencing | Your project needs a package reference to |
Package | Microsoft.Data.SqlClient net8.0 |
Obsolete | SYSLIB0051: This API supports obsolete formatter-based serialization. It should not be called or extended by application code. |
Platform Restrictions | This API is supported on all platforms. |