API 已过时并带有非默认诊断 ID (.NET 8)
从 .NET 8 开始,某些 API 标记为已过时。 此中断性变更特定于标记为已过时并带有自定义诊断 ID 的 API。 取消默认过时诊断 ID(对于 C# 编译器,即为 CS0618),不会取消使用这些 API 时编译器生成的警告。
更改描述
在以前的 .NET 版本中,可以使用这些 API,而不会引发任何生成警告。 在 .NET 8 及更高版本中,使用这些 API 会生成编译时警告或错误,并显示自定义诊断 ID。 使用自定义诊断 ID 可单独取消某个过时警告,而不是取消所有过时警告。
下表列出了已过时 API 的自定义诊断 ID 及其相应的警告消息。
诊断 ID | 说明 | 严重性 |
---|---|---|
SYSLIB0011 | BinaryFormatter 序列化已过时 | 警告/错误 |
SYSLIB0048 | RSA.EncryptValue(Byte[]) 和 RSA.DecryptValue(Byte[]) 已过时。 请改用 RSA.Encrypt 和 RSA.Decrypt。 | 警告 |
SYSLIB0049 | JsonSerializerOptions.AddContext 已过时。 若要注册 JsonSerializerContext,请使用 TypeInfoResolver 或 TypeInfoResolverChain 属性。 | 警告 |
SYSLIB0050 | 基于格式化程序的序列化已过时,不应使用。 | 警告 |
SYSLIB0051 | 支持过时的基于格式化程序的序列化的 API 已过时。 应用程序代码不应调用或扩展它们。 | 警告 |
SYSLIB0052 | 支持 Regex 扩展性过时机制的 API 已过时。 | 警告 |
SYSLIB0053 | AesGcm 应指示加密和解密所需的标记大小。 使用接受标记大小的构造函数。 | 警告 |
引入的版本
.NET 8
中断性变更的类型
这种过时可能会影响源兼容性。
建议操作
使用警告中提供的 URL 链接,遵循为每个诊断 ID 提供的特定指南。
不能使用过时类型或成员的标准诊断 ID 取消有关这些过时类型或成员的警告或错误;请改用自定义
SYSLIBxxxx
诊断 ID 值。
受影响的 API
SYSLIB0011
- System.Resources.Extensions.PreserializedResourceWriter.AddBinaryFormattedResource(String, Byte[], String)
- System.Runtime.Serialization.Formatter
- System.Runtime.Serialization.IFormatter
- System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
SYSLIB0048
- System.Security.Cryptography.RSA.EncryptValue(Byte[])
- System.Security.Cryptography.RSA.DecryptValue(Byte[])
- System.Security.Cryptography.RSACryptoServiceProvider.EncryptValue(Byte[])
- System.Security.Cryptography.RSACryptoServiceProvider.DecryptValue(Byte[])
SYSLIB0049
SYSLIB0050
- System.Runtime.Serialization.FormatterConverter
- System.Runtime.Serialization.FormatterServices
- System.Runtime.Serialization.IFormatterConverter
- System.Runtime.Serialization.IObjectReference
- System.Runtime.Serialization.ISafeSerializationData
- System.Runtime.Serialization.ISerializationSurrogate
- System.Runtime.Serialization.ISurrogateSelector
- System.Runtime.Serialization.ObjectIDGenerator
- System.Runtime.Serialization.ObjectManager
- System.Runtime.Serialization.SafeSerializationEventArgs
- System.Runtime.Serialization.SerializationObjectManager
- System.Runtime.Serialization.StreamingContextStates
- System.Runtime.Serialization.SurrogateSelector
- System.Runtime.Serialization.Formatters.FormatterAssemblyStyle
- System.Runtime.Serialization.Formatters.FormatterTypeStyle
- System.Runtime.Serialization.Formatters.IFieldInfo
- System.Runtime.Serialization.Formatters.TypeFilterLevel
- System.Type.IsSerializable
- System.Reflection.FieldAttributes.NotSerialized
- System.Reflection.FieldInfo.IsNotSerialized
- System.Reflection.TypeAttributes.Serializable
- System.Runtime.Serialization.ISerializable.GetObjectData(SerializationInfo, StreamingContext)
- SerializationInfo(Type, IFormatterConverter, Boolean)
- SerializationInfo(Type, IFormatterConverter)
- StreamingContext(StreamingContextStates, Object)
- StreamingContext(StreamingContextStates)
SYSLIB0051
过时的 SYSLIB0051
API 在此处按命名空间进行组织。
Microsoft.CSharp.RuntimeBinder 命名空间
- Microsoft.CSharp.RuntimeBinder.RuntimeBinderException.RuntimeBinderException(SerializationInfo, StreamingContext)
- Microsoft.CSharp.RuntimeBinder.RuntimeBinderInternalCompilerException.RuntimeBinderInternalCompilerException(SerializationInfo, StreamingContext)
Microsoft.VisualBasic.FileIO 命名空间
- Microsoft.VisualBasic.FileIO.MalformedLineException.MalformedLineException(SerializationInfo, StreamingContext)
- Microsoft.VisualBasic.FileIO.MalformedLineException.GetObjectData(SerializationInfo, StreamingContext)
系统命名空间
- System.AccessViolationException.AccessViolationException(SerializationInfo, StreamingContext)
- System.AggregateException.AggregateException(SerializationInfo, StreamingContext)
- System.AggregateException.GetObjectData(SerializationInfo, StreamingContext)
- System.AppDomainUnloadedException.AppDomainUnloadedException(SerializationInfo, StreamingContext)
- System.ApplicationException.ApplicationException(SerializationInfo, StreamingContext)
- System.ArgumentException.ArgumentException(SerializationInfo, StreamingContext)
- System.ArgumentException.GetObjectData(SerializationInfo, StreamingContext)
- System.ArgumentNullException.ArgumentNullException(SerializationInfo, StreamingContext)
- System.ArgumentOutOfRangeException.ArgumentOutOfRangeException(SerializationInfo, StreamingContext)
- System.ArgumentOutOfRangeException.GetObjectData(SerializationInfo, StreamingContext)
- System.ArithmeticException.ArithmeticException(SerializationInfo, StreamingContext)
- System.ArrayTypeMismatchException.ArrayTypeMismatchException(SerializationInfo, StreamingContext)
- System.BadImageFormatException.BadImageFormatException(SerializationInfo, StreamingContext)
- System.BadImageFormatException.GetObjectData(SerializationInfo, StreamingContext)
- System.CannotUnloadAppDomainException.CannotUnloadAppDomainException(SerializationInfo, StreamingContext)
- System.ContextMarshalException.ContextMarshalException(SerializationInfo, StreamingContext)
- System.DBNull.GetObjectData(SerializationInfo, StreamingContext)
- System.Delegate.GetObjectData(SerializationInfo, StreamingContext)
- System.DivideByZeroException.DivideByZeroException(SerializationInfo, StreamingContext)
- System.DuplicateWaitObjectException.DuplicateWaitObjectException(SerializationInfo, StreamingContext)
- System.EntryPointNotFoundException.EntryPointNotFoundException(SerializationInfo, StreamingContext)
- System.Exception.Exception(SerializationInfo, StreamingContext)
- System.Exception.GetObjectData(SerializationInfo, StreamingContext)
- System.FieldAccessException.FieldAccessException(SerializationInfo, StreamingContext)
- System.FormatException.FormatException(SerializationInfo, StreamingContext)
- System.InvalidCastException.InvalidCastException(SerializationInfo, StreamingContext)
- System.InvalidOperationException.InvalidOperationException(SerializationInfo, StreamingContext)
- System.InvalidTimeZoneException.InvalidTimeZoneException(SerializationInfo, StreamingContext)
- System.MemberAccessException.MemberAccessException(SerializationInfo, StreamingContext)
- System.MethodAccessException.MethodAccessException(SerializationInfo, StreamingContext)
- System.MissingFieldException.MissingFieldException(SerializationInfo, StreamingContext)
- System.MissingMemberException.MissingMemberException(SerializationInfo, StreamingContext)
- System.MissingMemberException.GetObjectData(SerializationInfo, StreamingContext)
- System.MissingMethodException.MissingMethodException(SerializationInfo, StreamingContext)
- System.MulticastDelegate.GetObjectData(SerializationInfo, StreamingContext)
- System.NotImplementedException.NotImplementedException(SerializationInfo, StreamingContext)
- System.NotSupportedException.NotSupportedException(SerializationInfo, StreamingContext)
- System.NullReferenceException.NullReferenceException(SerializationInfo, StreamingContext)
- System.ObjectDisposedException.ObjectDisposedException(SerializationInfo, StreamingContext)
- System.ObjectDisposedException.GetObjectData(SerializationInfo, StreamingContext)
- System.OperatingSystem.GetObjectData(SerializationInfo, StreamingContext)
- System.OperationCanceledException.OperationCanceledException(SerializationInfo, StreamingContext)
- System.OutOfMemoryException.OutOfMemoryException(SerializationInfo, StreamingContext)
- System.OverflowException.OverflowException(SerializationInfo, StreamingContext)
- System.PlatformNotSupportedException.PlatformNotSupportedException(SerializationInfo, StreamingContext)
- System.RankException.RankException(SerializationInfo, StreamingContext)
- System.RuntimeFieldHandle.GetObjectData(SerializationInfo, StreamingContext)
- System.RuntimeMethodHandle.GetObjectData(SerializationInfo, StreamingContext)
- System.RuntimeTypeHandle.GetObjectData(SerializationInfo, StreamingContext)
- System.SystemException.SystemException(SerializationInfo, StreamingContext)
- System.TimeoutException.TimeoutException(SerializationInfo, StreamingContext)
- System.TimeZoneNotFoundException.TimeZoneNotFoundException(SerializationInfo, StreamingContext)
- System.TypeAccessException.TypeAccessException(SerializationInfo, StreamingContext)
- System.TypeInitializationException.GetObjectData(SerializationInfo, StreamingContext)
- System.TypeLoadException.TypeLoadException(SerializationInfo, StreamingContext)
- System.TypeLoadException.GetObjectData(SerializationInfo, StreamingContext)
- System.TypeUnloadedException.TypeUnloadedException(SerializationInfo, StreamingContext)
- System.UnauthorizedAccessException.UnauthorizedAccessException(SerializationInfo, StreamingContext)
- System.WeakReference.WeakReference(SerializationInfo, StreamingContext)
- System.WeakReference.GetObjectData(SerializationInfo, StreamingContext)
- System.UriFormatException.UriFormatException(SerializationInfo, StreamingContext)
System.Collections 命名空间
System.Collections.Generic 命名空间
- System.Collections.Generic.LinkedList<T>.LinkedList<T>(SerializationInfo, StreamingContext)
- System.Collections.Generic.LinkedList<T>.GetObjectData(SerializationInfo, StreamingContext)
- System.Collections.Generic.SortedSet<T>.SortedSet<T>(SerializationInfo, StreamingContext)
- System.Collections.Generic.Dictionary<TKey,TValue>.Dictionary<TKey,TValue>(SerializationInfo, StreamingContext)
- System.Collections.Generic.Dictionary<TKey,TValue>.GetObjectData(SerializationInfo, StreamingContext)
- System.Collections.Generic.HashSet<T>.HashSet<T>(SerializationInfo, StreamingContext)
- System.Collections.Generic.HashSet<T>.GetObjectData(SerializationInfo, StreamingContext)
- System.Collections.Generic.KeyNotFoundException.KeyNotFoundException(SerializationInfo, StreamingContext)
System.Collections.Specialized 命名空间
- System.Collections.Specialized.NameObjectCollectionBase.NameObjectCollectionBase(SerializationInfo, StreamingContext)
- System.Collections.Specialized.NameObjectCollectionBase.GetObjectData(SerializationInfo, StreamingContext)
- System.Collections.Specialized.NameValueCollection.NameValueCollection(SerializationInfo, StreamingContext)
- System.Collections.Specialized.OrderedDictionary.OrderedDictionary(SerializationInfo, StreamingContext)
- System.Collections.Specialized.OrderedDictionary.GetObjectData(SerializationInfo, StreamingContext)
System.ComponentModel 命名空间
- System.ComponentModel.InvalidAsynchronousStateException.InvalidAsynchronousStateException(SerializationInfo, StreamingContext)
- System.ComponentModel.InvalidEnumArgumentException.InvalidEnumArgumentException(SerializationInfo, StreamingContext)
- System.ComponentModel.LicenseException.LicenseException(SerializationInfo, StreamingContext)
- System.ComponentModel.LicenseException.GetObjectData(SerializationInfo, StreamingContext)
- System.ComponentModel.WarningException.WarningException(SerializationInfo, StreamingContext)
- System.ComponentModel.WarningException.GetObjectData(SerializationInfo, StreamingContext)
- System.ComponentModel.Win32Exception.Win32Exception(SerializationInfo, StreamingContext)
- System.ComponentModel.Win32Exception.GetObjectData(SerializationInfo, StreamingContext)
System.ComponentModel.Composition 命名空间
- System.ComponentModel.Composition.CompositionContractMismatchException.CompositionContractMismatchException(SerializationInfo, StreamingContext)
- System.ComponentModel.Composition.ImportCardinalityMismatchException.ImportCardinalityMismatchException(SerializationInfo, StreamingContext)
System.ComponentModel.Composition.Primitives 命名空间
- System.ComponentModel.Composition.Primitives.ComposablePartException.ComposablePartException(SerializationInfo, StreamingContext)
- System.ComponentModel.Composition.Primitives.ComposablePartException.GetObjectData(SerializationInfo, StreamingContext)
System.ComponentModel.DataAnnotations 命名空间
System.ComponentModel.Design 命名空间
System.Configuration 命名空间
- System.Configuration.ConfigurationErrorsException.ConfigurationErrorsException(SerializationInfo, StreamingContext)
- System.Configuration.ConfigurationErrorsException.GetObjectData(SerializationInfo, StreamingContext)
- System.Configuration.ConfigurationException.ConfigurationException(SerializationInfo, StreamingContext)
- System.Configuration.ConfigurationException.GetObjectData(SerializationInfo, StreamingContext)
- System.Configuration.ConfigurationSectionCollection.GetObjectData(SerializationInfo, StreamingContext)
- System.Configuration.ConfigurationSectionGroupCollection.GetObjectData(SerializationInfo, StreamingContext)
- System.Configuration.PropertyInformationCollection.GetObjectData(SerializationInfo, StreamingContext)
- System.Configuration.SettingsPropertyIsReadOnlyException.SettingsPropertyIsReadOnlyException(SerializationInfo, StreamingContext)
- System.Configuration.SettingsPropertyNotFoundException.SettingsPropertyNotFoundException(SerializationInfo, StreamingContext)
- System.Configuration.SettingsPropertyWrongTypeException.SettingsPropertyWrongTypeException(SerializationInfo, StreamingContext)
- System.Configuration.Provider.ProviderException.ProviderException(SerializationInfo, StreamingContext)
- System.Configuration.SettingsPropertyIsReadOnlyException.SettingsPropertyIsReadOnlyException(SerializationInfo, StreamingContext)
- System.Configuration.SettingsPropertyNotFoundException.SettingsPropertyNotFoundException(SerializationInfo, StreamingContext)
- System.Configuration.SettingsPropertyWrongTypeException.SettingsPropertyWrongTypeException(SerializationInfo, StreamingContext)
System.Data 命名空间
- System.Data.ConstraintException.ConstraintException(SerializationInfo, StreamingContext)
- System.Data.DataException.DataException(SerializationInfo, StreamingContext)
- System.Data.DataSet.GetObjectData(SerializationInfo, StreamingContext)
- System.Data.DataTable.GetObjectData(SerializationInfo, StreamingContext)
- System.Data.DBConcurrencyException.GetObjectData(SerializationInfo, StreamingContext)
- System.Data.DeletedRowInaccessibleException.DeletedRowInaccessibleException(SerializationInfo, StreamingContext)
- System.Data.DuplicateNameException.DuplicateNameException(SerializationInfo, StreamingContext)
- System.Data.EvaluateException.EvaluateException(SerializationInfo, StreamingContext)
- System.Data.InRowChangingEventException.InRowChangingEventException(SerializationInfo, StreamingContext)
- System.Data.InvalidConstraintException.InvalidConstraintException(SerializationInfo, StreamingContext)
- System.Data.InvalidExpressionException.InvalidExpressionException(SerializationInfo, StreamingContext)
- System.Data.MissingPrimaryKeyException.MissingPrimaryKeyException(SerializationInfo, StreamingContext)
- System.Data.NoNullAllowedException.NoNullAllowedException(SerializationInfo, StreamingContext)
- System.Data.PropertyCollection.PropertyCollection(SerializationInfo, StreamingContext)
- System.Data.ReadOnlyException.ReadOnlyException(SerializationInfo, StreamingContext)
- System.Data.RowNotInTableException.RowNotInTableException(SerializationInfo, StreamingContext)
- System.Data.StrongTypingException.StrongTypingException(SerializationInfo, StreamingContext)
- System.Data.SyntaxErrorException.SyntaxErrorException(SerializationInfo, StreamingContext)
- System.Data.TypedTableBase<T>.TypedTableBase<T>(SerializationInfo, StreamingContext)
- System.Data.VersionNotFoundException.VersionNotFoundException(SerializationInfo, StreamingContext)
System.Data.Common 命名空间
System.Data.Odbc 命名空间
System.Data.OleDb 命名空间
System.Data.SqlTypes 命名空间
System.Diagnostics.Eventing.Reader 命名空间
- System.Diagnostics.Eventing.Reader.EventLogException.EventLogException(SerializationInfo, StreamingContext)
- System.Diagnostics.Eventing.Reader.EventLogException.GetObjectData(SerializationInfo, StreamingContext)
- System.Diagnostics.Eventing.Reader.EventLogInvalidDataException.EventLogInvalidDataException(SerializationInfo, StreamingContext)
- System.Diagnostics.Eventing.Reader.EventLogNotFoundException.EventLogNotFoundException(SerializationInfo, StreamingContext)
- System.Diagnostics.Eventing.Reader.EventLogProviderDisabledException.EventLogProviderDisabledException(SerializationInfo, StreamingContext)
- System.Diagnostics.Eventing.Reader.EventLogReadingException.EventLogReadingException(SerializationInfo, StreamingContext)
System.Diagnostics.Tracing 命名空间
System.DirectoryServices 命名空间
- System.DirectoryServices.DirectoryServicesCOMException.DirectoryServicesCOMException(SerializationInfo, StreamingContext)
- System.DirectoryServices.DirectoryServicesCOMException.GetObjectData(SerializationInfo, StreamingContext)
System.DirectoryServices.AccountManagement 命名空间
- System.DirectoryServices.AccountManagement.MultipleMatchesException.MultipleMatchesException(SerializationInfo, StreamingContext)
- System.DirectoryServices.AccountManagement.NoMatchingPrincipalException.NoMatchingPrincipalException(SerializationInfo, StreamingContext)
- System.DirectoryServices.AccountManagement.PasswordException.PasswordException(SerializationInfo, StreamingContext)
- System.DirectoryServices.AccountManagement.PrincipalException.PrincipalException(SerializationInfo, StreamingContext)
- System.DirectoryServices.AccountManagement.PrincipalExistsException.PrincipalExistsException(SerializationInfo, StreamingContext)
- System.DirectoryServices.AccountManagement.PrincipalOperationException.PrincipalOperationException(SerializationInfo, StreamingContext)
- System.DirectoryServices.AccountManagement.PrincipalOperationException.GetObjectData(SerializationInfo, StreamingContext)
- System.DirectoryServices.AccountManagement.PrincipalServerDownException.PrincipalServerDownException(SerializationInfo, StreamingContext)
- System.DirectoryServices.AccountManagement.PrincipalServerDownException.GetObjectData(SerializationInfo, StreamingContext)
System.DirectoryServices.ActiveDirectory 命名空间
- System.DirectoryServices.ActiveDirectory.ActiveDirectoryObjectExistsException.ActiveDirectoryObjectExistsException(SerializationInfo, StreamingContext)
- System.DirectoryServices.ActiveDirectory.ActiveDirectoryObjectNotFoundException.ActiveDirectoryObjectNotFoundException(SerializationInfo, StreamingContext)
- System.DirectoryServices.ActiveDirectory.ActiveDirectoryObjectNotFoundException.GetObjectData(SerializationInfo, StreamingContext)
- System.DirectoryServices.ActiveDirectory.ActiveDirectoryOperationException.ActiveDirectoryOperationException(SerializationInfo, StreamingContext)
- System.DirectoryServices.ActiveDirectory.ActiveDirectoryOperationException.GetObjectData(SerializationInfo, StreamingContext)
- System.DirectoryServices.ActiveDirectory.ActiveDirectoryServerDownException.ActiveDirectoryServerDownException(SerializationInfo, StreamingContext)
- System.DirectoryServices.ActiveDirectory.ActiveDirectoryServerDownException.GetObjectData(SerializationInfo, StreamingContext)
- System.DirectoryServices.ActiveDirectory.ForestTrustCollisionException.ForestTrustCollisionException(SerializationInfo, StreamingContext)
- System.DirectoryServices.ActiveDirectory.ForestTrustCollisionException.GetObjectData(SerializationInfo, StreamingContext)
- System.DirectoryServices.ActiveDirectory.SyncFromAllServersOperationException.SyncFromAllServersOperationException(SerializationInfo, StreamingContext)
- System.DirectoryServices.ActiveDirectory.SyncFromAllServersOperationException.GetObjectData(SerializationInfo, StreamingContext)
System.DirectoryServices.Protocols 命名空间
- System.DirectoryServices.Protocols.BerConversionException.BerConversionException(SerializationInfo, StreamingContext)
- System.DirectoryServices.Protocols.DirectoryException.DirectoryException(SerializationInfo, StreamingContext)
- System.DirectoryServices.Protocols.DirectoryOperationException.DirectoryOperationException(SerializationInfo, StreamingContext)
- System.DirectoryServices.Protocols.DirectoryOperationException.GetObjectData(SerializationInfo, StreamingContext)
- System.DirectoryServices.Protocols.LdapException.LdapException(SerializationInfo, StreamingContext)
- System.DirectoryServices.Protocols.LdapException.GetObjectData(SerializationInfo, StreamingContext)
- System.DirectoryServices.Protocols.TlsOperationException.TlsOperationException(SerializationInfo, StreamingContext)
System.Formats.Asn1 命名空间
System.Formats.Cbor 命名空间
System.Globalization 命名空间
- System.Globalization.CultureNotFoundException.CultureNotFoundException(SerializationInfo, StreamingContext)
- System.Globalization.CultureNotFoundException.GetObjectData(SerializationInfo, StreamingContext)
System.IO 命名空间
- System.IO.DirectoryNotFoundException.DirectoryNotFoundException(SerializationInfo, StreamingContext)
- System.IO.DriveNotFoundException.DriveNotFoundException(SerializationInfo, StreamingContext)
- System.IO.EndOfStreamException.EndOfStreamException(SerializationInfo, StreamingContext)
- System.IO.FileFormatException.FileFormatException(SerializationInfo, StreamingContext)
- System.IO.FileFormatException.GetObjectData(SerializationInfo, StreamingContext)
- System.IO.FileLoadException.FileLoadException(SerializationInfo, StreamingContext)
- System.IO.FileLoadException.GetObjectData(SerializationInfo, StreamingContext)
- System.IO.FileNotFoundException.FileNotFoundException(SerializationInfo, StreamingContext)
- System.IO.FileNotFoundException.GetObjectData(SerializationInfo, StreamingContext)
- System.IO.FileSystemInfo.FileSystemInfo(SerializationInfo, StreamingContext)
- System.IO.FileSystemInfo.GetObjectData(SerializationInfo, StreamingContext)
- System.IO.InternalBufferOverflowException.InternalBufferOverflowException(SerializationInfo, StreamingContext)
- System.IO.IOException.IOException(SerializationInfo, StreamingContext)
- System.IO.IsolatedStorage.IsolatedStorageException.IsolatedStorageException(SerializationInfo, StreamingContext)
- System.IO.PathTooLongException.PathTooLongException(SerializationInfo, StreamingContext)
System.Management 命名空间
- System.Management.ManagementBaseObject.ManagementBaseObject(SerializationInfo, StreamingContext)
- System.Management.ManagementClass.ManagementClass(SerializationInfo, StreamingContext)
- System.Management.ManagementException.ManagementException(SerializationInfo, StreamingContext)
- System.Management.ManagementException.GetObjectData(SerializationInfo, StreamingContext)
- System.Management.ManagementNamedValueCollection.ManagementNamedValueCollection(SerializationInfo, StreamingContext)
System.Media 命名空间
System.Net 命名空间
- System.Net.CookieException.CookieException(SerializationInfo, StreamingContext)
- System.Net.CookieException.GetObjectData(SerializationInfo, StreamingContext)
- System.Net.FileWebRequest.FileWebRequest(SerializationInfo, StreamingContext)
- System.Net.FileWebResponse.FileWebResponse(SerializationInfo, StreamingContext)
- System.Net.HttpListenerException.HttpListenerException(SerializationInfo, StreamingContext)
- System.Net.HttpWebRequest.HttpWebRequest(SerializationInfo, StreamingContext)
- System.Net.HttpWebResponse.HttpWebResponse(SerializationInfo, StreamingContext)
- System.Net.ProtocolViolationException.ProtocolViolationException(SerializationInfo, StreamingContext)
- System.Net.ProtocolViolationException.GetObjectData(SerializationInfo, StreamingContext)
- System.Net.WebException.WebException(SerializationInfo, StreamingContext)
- System.Net.WebException.GetObjectData(SerializationInfo, StreamingContext)
- System.Net.WebHeaderCollection.WebHeaderCollection(SerializationInfo, StreamingContext)
- System.Net.WebHeaderCollection.GetObjectData(SerializationInfo, StreamingContext)
- System.Net.WebRequest.WebRequest(SerializationInfo, StreamingContext)
- System.Net.WebResponse.WebResponse(SerializationInfo, StreamingContext)
System.Net.Mail 命名空间
- System.Net.Mail.SmtpException.SmtpException(SerializationInfo, StreamingContext)
- System.Net.Mail.SmtpException.GetObjectData(SerializationInfo, StreamingContext)
- System.Net.Mail.SmtpFailedRecipientException.SmtpFailedRecipientException(SerializationInfo, StreamingContext)
- System.Net.Mail.SmtpFailedRecipientException.GetObjectData(SerializationInfo, StreamingContext)
- System.Net.Mail.SmtpFailedRecipientsException.SmtpFailedRecipientsException(SerializationInfo, StreamingContext)
- System.Net.Mail.SmtpFailedRecipientsException.GetObjectData(SerializationInfo, StreamingContext)
System.Net.NetworkInformation 命名空间
- System.Net.NetworkInformation.NetworkInformationException.NetworkInformationException(SerializationInfo, StreamingContext)
- System.Net.NetworkInformation.PingException.PingException(SerializationInfo, StreamingContext)
System.Net.Sockets 命名空间
System.Reflection 命名空间
- System.Reflection.Assembly.GetObjectData(SerializationInfo, StreamingContext)
- System.Reflection.AssemblyName.GetObjectData(SerializationInfo, StreamingContext)
- System.Reflection.CustomAttributeFormatException.CustomAttributeFormatException(SerializationInfo, StreamingContext)
- System.Reflection.InvalidFilterCriteriaException.InvalidFilterCriteriaException(SerializationInfo, StreamingContext)
- System.Reflection.Module.GetObjectData(SerializationInfo, StreamingContext)
- System.Reflection.ParameterInfo.GetRealObject(StreamingContext)
- System.Reflection.ReflectionTypeLoadException.GetObjectData(SerializationInfo, StreamingContext)
- System.Reflection.StrongNameKeyPair.StrongNameKeyPair(SerializationInfo, StreamingContext)
- System.Reflection.TargetException.TargetException(SerializationInfo, StreamingContext)
System.Reflection.Metadata 命名空间
System.Resources 命名空间
- System.Resources.MissingManifestResourceException.MissingManifestResourceException(SerializationInfo, StreamingContext)
- System.Resources.MissingSatelliteAssemblyException.MissingSatelliteAssemblyException(SerializationInfo, StreamingContext)
System.Runtime.CompilerServices 命名空间
- System.Runtime.CompilerServices.RuntimeWrappedException.GetObjectData(SerializationInfo, StreamingContext)
- System.Runtime.CompilerServices.SwitchExpressionException.GetObjectData(SerializationInfo, StreamingContext)
System.Runtime.InteropServices 命名空间
- System.Runtime.InteropServices.ExternalException.ExternalException(SerializationInfo, StreamingContext)
- System.Runtime.Serialization.SerializationException.SerializationException(SerializationInfo, StreamingContext)
System.Runtime.Serialization 命名空间
System.Security 命名空间
- System.Security.HostProtectionException.HostProtectionException(SerializationInfo, StreamingContext)
- System.Security.SecurityException.SecurityException(SerializationInfo, StreamingContext)
- System.Security.SecurityException.GetObjectData(SerializationInfo, StreamingContext)
- System.Security.VerificationException.VerificationException(SerializationInfo, StreamingContext)
System.Security.AccessControl 命名空间
System.Security.Authentication 命名空间
- System.Security.Authentication.InvalidCredentialException.InvalidCredentialException(SerializationInfo, StreamingContext)
- System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy.ExtendedProtectionPolicy(SerializationInfo, StreamingContext)
System.Security.Claims 命名空间
- System.Security.Claims.ClaimsIdentity.ClaimsIdentity(SerializationInfo)
- System.Security.Claims.ClaimsIdentity.ClaimsIdentity(SerializationInfo, StreamingContext)
- System.Security.Claims.ClaimsPrincipal.ClaimsPrincipal(SerializationInfo, StreamingContext)
System.Security.Cryptography 命名空间
- System.Security.Cryptography.CryptographicException.CryptographicException(SerializationInfo, StreamingContext)
- System.Security.Cryptography.CryptographicUnexpectedOperationException.CryptographicUnexpectedOperationException(SerializationInfo, StreamingContext)
- System.Security.Cryptography.X509Certificates.X509Certificate.X509Certificate(SerializationInfo, StreamingContext)
- System.Security.Cryptography.X509Certificates.X509Certificate2.X509Certificate2(SerializationInfo, StreamingContext)
System.Security.Policy 命名空间
- System.Security.Policy.Hash.GetObjectData(SerializationInfo, StreamingContext)
- System.Security.Policy.PolicyException.PolicyException(SerializationInfo, StreamingContext)
System.Security.Principal 命名空间
- System.Security.Principal.IdentityNotMappedException.GetObjectData(SerializationInfo, StreamingContext)
- System.Security.Principal.WindowsIdentity.WindowsIdentity(SerializationInfo, StreamingContext)
System.Text.Json 命名空间
- System.Text.Json.JsonException.JsonException(SerializationInfo, StreamingContext)
- System.Text.Json.JsonException.GetObjectData(SerializationInfo, StreamingContext)
System.Text.RegularExpressions 命名空间
- System.Text.RegularExpressions.RegexMatchTimeoutException.RegexMatchTimeoutException(SerializationInfo, StreamingContext)
- System.Text.RegularExpressions.RegexParseException.GetObjectData(SerializationInfo, StreamingContext)
System.Threading 命名空间
- System.Threading.CompressedStack.GetObjectData(SerializationInfo, StreamingContext)
- System.Threading.ThreadInterruptedException.ThreadInterruptedException(SerializationInfo, StreamingContext)
- System.Threading.ThreadStateException.ThreadStateException(SerializationInfo, StreamingContext)
- System.Threading.BarrierPostPhaseException.BarrierPostPhaseException(SerializationInfo, StreamingContext)
- System.Threading.AbandonedMutexException.AbandonedMutexException(SerializationInfo, StreamingContext)
- System.Threading.ExecutionContext.GetObjectData(SerializationInfo, StreamingContext)
- System.Threading.LockRecursionException.LockRecursionException(SerializationInfo, StreamingContext)
- System.Threading.SemaphoreFullException.SemaphoreFullException(SerializationInfo, StreamingContext)
- System.Threading.SynchronizationLockException.SynchronizationLockException(SerializationInfo, StreamingContext)
- System.Threading.WaitHandleCannotBeOpenedException.WaitHandleCannotBeOpenedException(SerializationInfo, StreamingContext)
System.Threading.Channels 命名空间
System.Threading.Tasks 命名空间
- System.Threading.Tasks.TaskCanceledException.TaskCanceledException(SerializationInfo, StreamingContext)
- System.Threading.Tasks.TaskSchedulerException.TaskSchedulerException(SerializationInfo, StreamingContext)
System.Transactions 命名空间
- System.Transactions.TransactionAbortedException.TransactionAbortedException(SerializationInfo, StreamingContext)
- System.Transactions.TransactionException.TransactionException(SerializationInfo, StreamingContext)
- System.Transactions.TransactionInDoubtException.TransactionInDoubtException(SerializationInfo, StreamingContext)
- System.Transactions.TransactionManagerCommunicationException.TransactionManagerCommunicationException(SerializationInfo, StreamingContext)
- System.Transactions.TransactionPromotionException.TransactionPromotionException(SerializationInfo, StreamingContext)
System.Xml 命名空间
- System.Xml.XmlException.XmlException(SerializationInfo, StreamingContext)
- System.Xml.XmlException.GetObjectData(SerializationInfo, StreamingContext)
System.Xml.Schema 命名空间
- System.Xml.Schema.XmlSchemaException.XmlSchemaException(SerializationInfo, StreamingContext)
- System.Xml.Schema.XmlSchemaException.GetObjectData(SerializationInfo, StreamingContext)
- System.Xml.Schema.XmlSchemaInferenceException.XmlSchemaInferenceException(SerializationInfo, StreamingContext)
- System.Xml.Schema.XmlSchemaInferenceException.GetObjectData(SerializationInfo, StreamingContext)
- System.Xml.Schema.XmlSchemaValidationException.XmlSchemaValidationException(SerializationInfo, StreamingContext)
- System.Xml.Schema.XmlSchemaValidationException.GetObjectData(SerializationInfo, StreamingContext)
System.Xml.XPath 命名空间
- System.Xml.XPath.XPathException.XPathException(SerializationInfo, StreamingContext)
- System.Xml.XPath.XPathException.GetObjectData(SerializationInfo, StreamingContext)
System.Xml.Xsl 命名空间
- System.Xml.Xsl.XsltCompileException.XsltCompileException(SerializationInfo, StreamingContext)
- System.Xml.Xsl.XsltCompileException.GetObjectData(SerializationInfo, StreamingContext)
- System.Xml.Xsl.XsltException.XsltException(SerializationInfo, StreamingContext)
- System.Xml.Xsl.XsltException.GetObjectData(SerializationInfo, StreamingContext)
SYSLIB0052
- System.Text.RegularExpressions.Regex.InitializeReferences()
- System.Text.RegularExpressions.Regex.UseOptionC()
- System.Text.RegularExpressions.Regex.UseOptionR()
- System.Text.RegularExpressions.RegexRunner.CharInSet(Char, String, String)
- System.Text.RegularExpressions.RegexRunner.Scan(Regex, String, Int32, Int32, Int32, Int32, Boolean)
- System.Text.RegularExpressions.RegexRunner.Scan(Regex, String, Int32, Int32, Int32, Int32, Boolean, TimeSpan)