Obsolações de API com IDs de diagnóstico não padrão (.NET 8)
Algumas APIs foram marcadas como obsoletas, começando no .NET 8. Essa alteração de quebra é específica para APIs que foram marcadas como obsoletas com uma ID de diagnóstico personalizada. Suprimir a ID de diagnóstico de obsolescência padrão, que é CS0618 para o compilador C#, não suprime os avisos que o compilador gera quando essas APIs são usadas.
Alterar a descrição
Em versões anteriores do .NET, essas APIs podem ser usadas sem qualquer aviso de compilação. No .NET 8 e versões posteriores, o uso dessas APIs produz um aviso ou erro em tempo de compilação com uma ID de diagnóstico personalizada. O uso de IDs de diagnóstico personalizados permite suprimir os avisos de obsolescência individualmente, em vez de suprimir todos os avisos de obsolescência.
A tabela a seguir lista as IDs de diagnóstico personalizadas e suas mensagens de aviso correspondentes para APIs obsoletas.
ID de diagnóstico | Description | Gravidade |
---|---|---|
SYSLIB0011 | A serialização BinaryFormatter está obsoleta | Aviso/erro |
SYSLIB0048 | RSA.EncryptValue(Byte[]) e RSA.DecryptValue(Byte[]) são obsoletas. Use RSA.Encrypt e RSA.Decrypt em vez disso. | Aviso |
SYSLIB0049 | JsonSerializerOptions.AddContext está obsoleto. Para registrar um JsonSerializerContext, use a propriedade TypeInfoResolver ou TypeInfoResolverChain. | Aviso |
SYSLIB0050 | A serialização baseada em Formatter é obsoleta e não deve ser usada. | Aviso |
SYSLIB0051 | As APIs que suportam a serialização obsoleta baseada em formatador estão obsoletas. Eles não devem ser chamados ou estendidos pelo código do aplicativo. | Aviso |
SYSLIB0052 | As APIs que suportam mecanismos obsoletos para extensibilidade Regex estão obsoletas. | Aviso |
SYSLIB0053 | AesGcm deve indicar o tamanho da etiqueta necessária para encriptação e desencriptação. Use um construtor que aceite o tamanho da tag. | Aviso |
Versão introduzida
.NET 8
Tipo de mudança de rutura
Essas obsolações podem afetar a compatibilidade da fonte.
Ação recomendada
Siga as orientações específicas fornecidas para cada ID de diagnóstico usando o link de URL fornecido no aviso.
Avisos ou erros para essas obsolescências não podem ser suprimidos usando o ID de diagnóstico padrão para tipos ou membros obsoletos; em vez disso, use o valor de ID de diagnóstico personalizado
SYSLIBxxxx
.
APIs afetadas
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
As SYSLIB0051
obsolações da API são organizadas aqui por namespace.
Namespace Microsoft.CSharp.RuntimeBinder
- Microsoft.CSharp.RuntimeBinder.RuntimeBinderException.RuntimeBinderException(SerializationInfo, StreamingContext)
- Microsoft.CSharp.RuntimeBinder.RuntimeBinderInternalCompilerException.RuntimeBinderInternalCompilerException(SerializationInfo, StreamingContext)
Namespace Microsoft.VisualBasic.FileIO
- Microsoft.VisualBasic.FileIO.MalformedLineException.MalformedLineException(SerializationInfo, StreamingContext)
- Microsoft.VisualBasic.FileIO.MalformedLineException.GetObjectData(SerializationInfo, StreamingContext)
Namespace do sistema
- 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)
Namespace System.Collections
System.Collections.Generic namespace
- 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 namespace
- 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)
Namespace 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 namespace
- System.ComponentModel.Composition.CompositionContractMismatchException.CompositionContractMismatchException(SerializationInfo, StreamingContext)
- System.ComponentModel.Composition.ImportCardinalityMismatchException.ImportCardinalityMismatchException(SerializationInfo, StreamingContext)
System.ComponentModel.Composition.Primitives namespace
- System.ComponentModel.Composition.Primitives.ComposablePartException.ComposablePartException(SerializationInfo, StreamingContext)
- System.ComponentModel.Composition.Primitives.ComposablePartException.GetObjectData(SerializationInfo, StreamingContext)
System.ComponentModel.DataAnnotations namespace
System.ComponentModel.Design namespace
Namespace 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)
Namespace 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 namespace
System.Data.Odbc namespace
System.Data.OleDb namespace
System.Data.SqlTypes namespace
System.Diagnostics.Eventing.Reader namespace
- 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 namespace
System.DirectoryServices namespace
- System.DirectoryServices.DirectoryServicesCOMException.DirectoryServicesCOMException(SerializationInfo, StreamingContext)
- System.DirectoryServices.DirectoryServicesCOMException.GetObjectData(SerializationInfo, StreamingContext)
Namespace 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)
Namespace 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 namespace
- 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 namespace
System.Formats.Cbor namespace
Namespace System.Globalization
- System.Globalization.CultureNotFoundException.CultureNotFoundException(SerializationInfo, StreamingContext)
- System.Globalization.CultureNotFoundException.GetObjectData(SerializationInfo, StreamingContext)
System.IO namespace
- 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)
Namespace 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)
Namespace System.Media
System.Net namespace
- 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)
Namespace 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)
Namespace System.Net.NetworkInformation
- System.Net.NetworkInformation.NetworkInformationException.NetworkInformationException(SerializationInfo, StreamingContext)
- System.Net.NetworkInformation.PingException.PingException(SerializationInfo, StreamingContext)
Namespace System.Net.Sockets
Namespace 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)
Namespace System.Reflection.Metadata
Namespace System.Resources
- System.Resources.MissingManifestResourceException.MissingManifestResourceException(SerializationInfo, StreamingContext)
- System.Resources.MissingSatelliteAssemblyException.MissingSatelliteAssemblyException(SerializationInfo, StreamingContext)
Namespace System.Runtime.CompilerServices
- System.Runtime.CompilerServices.RuntimeWrappedException.GetObjectData(SerializationInfo, StreamingContext)
- System.Runtime.CompilerServices.SwitchExpressionException.GetObjectData(SerializationInfo, StreamingContext)
Namespace System.Runtime.InteropServices
- System.Runtime.InteropServices.ExternalException.ExternalException(SerializationInfo, StreamingContext)
- System.Runtime.Serialization.SerializationException.SerializationException(SerializationInfo, StreamingContext)
System.Runtime.Serialization namespace
Namespace 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 namespace
System.Security.Authentication namespace
- System.Security.Authentication.InvalidCredentialException.InvalidCredentialException(SerializationInfo, StreamingContext)
- System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy.ExtendedProtectionPolicy(SerializationInfo, StreamingContext)
System.Security.Claims namespace
- System.Security.Claims.ClaimsIdentity.ClaimsIdentity(SerializationInfo)
- System.Security.Claims.ClaimsIdentity.ClaimsIdentity(SerializationInfo, StreamingContext)
- System.Security.Claims.ClaimsPrincipal.ClaimsPrincipal(SerializationInfo, StreamingContext)
System.Security.Cryptography namespace
- 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 namespace
- System.Security.Policy.Hash.GetObjectData(SerializationInfo, StreamingContext)
- System.Security.Policy.PolicyException.PolicyException(SerializationInfo, StreamingContext)
Namespace System.Security.Principal
- System.Security.Principal.IdentityNotMappedException.GetObjectData(SerializationInfo, StreamingContext)
- System.Security.Principal.WindowsIdentity.WindowsIdentity(SerializationInfo, StreamingContext)
System.Text.Json namespace
- System.Text.Json.JsonException.JsonException(SerializationInfo, StreamingContext)
- System.Text.Json.JsonException.GetObjectData(SerializationInfo, StreamingContext)
Namespace System.Text.RegularExpressions
- System.Text.RegularExpressions.RegexMatchTimeoutException.RegexMatchTimeoutException(SerializationInfo, StreamingContext)
- System.Text.RegularExpressions.RegexParseException.GetObjectData(SerializationInfo, StreamingContext)
Namespace 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)
Namespace System.Threading.Channels
Namespace System.Threading.Tasks
- System.Threading.Tasks.TaskCanceledException.TaskCanceledException(SerializationInfo, StreamingContext)
- System.Threading.Tasks.TaskSchedulerException.TaskSchedulerException(SerializationInfo, StreamingContext)
Namespace 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)
Namespace System.Xml
- System.Xml.XmlException.XmlException(SerializationInfo, StreamingContext)
- System.Xml.XmlException.GetObjectData(SerializationInfo, StreamingContext)
System.Xml.Schema namespace
- 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)
Namespace System.Xml.XPath
- System.Xml.XPath.XPathException.XPathException(SerializationInfo, StreamingContext)
- System.Xml.XPath.XPathException.GetObjectData(SerializationInfo, StreamingContext)
System.Xml.Xsl namespace
- 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)