Obsoletions interfejsu API z nie domyślnymi identyfikatorami diagnostycznymi (.NET 8)
Niektóre interfejsy API zostały oznaczone jako przestarzałe, począwszy od platformy .NET 8. Ta zmiana powodująca niezgodność jest specyficzna dla interfejsów API, które zostały oznaczone jako przestarzałe przy użyciu niestandardowego identyfikatora diagnostycznego. Pomijanie domyślnego identyfikatora diagnostycznego obsoletion, który jest CS0618 dla kompilatora języka C#, nie pomija ostrzeżeń generowanych przez kompilator podczas użycia tych interfejsów API.
Opis zmiany
W poprzednich wersjach platformy .NET te interfejsy API mogą być używane bez żadnego ostrzeżenia dotyczącego kompilacji. W przypadku platformy .NET 8 lub nowszych wersji użycie tych interfejsów API powoduje wygenerowanie ostrzeżenia lub błędu kompilatora z niestandardowym identyfikatorem diagnostycznym. Użycie niestandardowych identyfikatorów diagnostycznych umożliwia pomijanie ostrzeżeń dotyczących obsoletion indywidualnie zamiast pomijania wszystkich ostrzeżeń dotyczących obsoletionu.
W poniższej tabeli wymieniono niestandardowe identyfikatory diagnostyczne i odpowiadające im komunikaty ostrzegawcze dla przestarzałych interfejsów API.
Identyfikator diagnostyczny | opis | Waga błędu |
---|---|---|
SYSLIB0011 | Serializacja binaryFormatter jest przestarzała | Ostrzeżenie/błąd |
SYSLIB0048 | RSA.EncryptValue(Byte[]) i RSA.DecryptValue(Byte[]) są przestarzałe. Użyj i RSA.EncryptRSA.Decrypt zamiast tego. | Ostrzeżenie |
SYSLIB0049 | Plik JsonSerializerOptions.AddContext jest przestarzały. Aby zarejestrować właściwość JsonSerializerContext, użyj właściwości TypeInfoResolver lub TypeInfoResolverChain. | Ostrzeżenie |
SYSLIB0050 | Serializacja oparta na formatowaniu jest przestarzała i nie powinna być używana. | Ostrzeżenie |
SYSLIB0051 | Interfejsy API obsługujące przestarzałą serializacji opartą na formatowaniu są przestarzałe. Nie powinny być wywoływane ani rozszerzone przez kod aplikacji. | Ostrzeżenie |
SYSLIB0052 | Interfejsy API, które obsługują przestarzałe mechanizmy rozszerzalności wyrażeń regularnych, są przestarzałe. | Ostrzeżenie |
SYSLIB0053 | AesGcm powinien wskazywać wymagany rozmiar tagu dla szyfrowania i odszyfrowywania. Użyj konstruktora, który akceptuje rozmiar tagu. | Ostrzeżenie |
Wprowadzona wersja
.NET 8
Typ zmiany powodującej niezgodność
Te obsoletions mogą mieć wpływ na zgodność źródła.
Zalecana akcja
Postępuj zgodnie z określonymi wskazówkami podanymi dla każdego identyfikatora diagnostycznego przy użyciu linku adresu URL podanego w ostrzeżeniu.
Ostrzeżenia lub błędy dla tych obsoletions nie mogą być pomijane przy użyciu standardowego identyfikatora diagnostycznego dla przestarzałych typów lub elementów członkowskich; Zamiast tego użyj niestandardowej
SYSLIBxxxx
wartości identyfikatora diagnostycznego.
Dotyczy interfejsów 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
Obsoletions SYSLIB0051
interfejsu API są zorganizowane tutaj według przestrzeni nazw.
Microsoft.CSharp.RuntimeBinder, przestrzeń nazw
- Microsoft.CSharp.RuntimeBinder.RuntimeBinderException.RuntimeBinderException(SerializationInfo, StreamingContext)
- Microsoft.CSharp.RuntimeBinder.RuntimeBinderInternalCompilerException.RuntimeBinderInternalCompilerException(SerializationInfo, StreamingContext)
Microsoft.VisualBasic.FileIO, przestrzeń nazw
- Microsoft.VisualBasic.FileIO.MalformedLineException.MalformedLineException(SerializationInfo, StreamingContext)
- Microsoft.VisualBasic.FileIO.MalformedLineException.GetObjectData(SerializationInfo, StreamingContext)
Przestrzeń nazw systemu
- 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)
Przestrzeń nazw System.Collections
System.Collections.Generic, przestrzeń nazw
- 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.Wyspecjalizowana przestrzeń nazw
- 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)
Przestrzeń nazw 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)
Przestrzeń nazw System.ComponentModel.Composition
- System.ComponentModel.Composition.CompositionContractMismatchException.CompositionContractMismatchException(SerializationInfo, StreamingContext)
- System.ComponentModel.Composition.ImportCardinalityMismatchException.ImportCardinalityMismatchException(SerializationInfo, StreamingContext)
Przestrzeń nazw System.ComponentModel.Composition.Primitives
- System.ComponentModel.Composition.Primitives.ComposablePartException.ComposablePartException(SerializationInfo, StreamingContext)
- System.ComponentModel.Composition.Primitives.ComposablePartException.GetObjectData(SerializationInfo, StreamingContext)
Przestrzeń nazw System.ComponentModel.DataAnnotations
System.ComponentModel.Design przestrzeni nazw
Przestrzeń nazw 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)
Przestrzeń nazw 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)
Przestrzeń nazw System.Data.Common
Przestrzeń nazw System.Data.Odbc
Przestrzeń nazw System.Data.OleDb
Przestrzeń nazw System.Data.SqlTypes
Przestrzeń nazw 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)
Przestrzeń nazw System.Diagnostics.Tracing
Przestrzeń nazw System.DirectoryServices
- System.DirectoryServices.DirectoryServicesCOMException.DirectoryServicesCOMException(SerializationInfo, StreamingContext)
- System.DirectoryServices.DirectoryServicesCOMException.GetObjectData(SerializationInfo, StreamingContext)
System.DirectoryServices.AccountManagement, przestrzeń nazw
- 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)
Przestrzeń nazw 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)
Przestrzeń nazw 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)
Przestrzeń nazw System.Formats.Asn1
Przestrzeń nazw System.Formats.Cbor
Przestrzeń nazw System.Globalization
- System.Globalization.CultureNotFoundException.CultureNotFoundException(SerializationInfo, StreamingContext)
- System.Globalization.CultureNotFoundException.GetObjectData(SerializationInfo, StreamingContext)
System.IO przestrzeni nazw
- 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)
Przestrzeń nazw 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)
Przestrzeń nazw System.Media
System.Net przestrzeni nazw
- 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)
Przestrzeń nazw 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)
Przestrzeń nazw System.Net.NetworkInformation
- System.Net.NetworkInformation.NetworkInformationException.NetworkInformationException(SerializationInfo, StreamingContext)
- System.Net.NetworkInformation.PingException.PingException(SerializationInfo, StreamingContext)
Przestrzeń nazw System.Net.Sockets
System. Przestrzeń nazw Emocje ion
- 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. Emocje ion. Przestrzeń nazw metadanych
Przestrzeń nazw System.Resources
- System.Resources.MissingManifestResourceException.MissingManifestResourceException(SerializationInfo, StreamingContext)
- System.Resources.MissingSatelliteAssemblyException.MissingSatelliteAssemblyException(SerializationInfo, StreamingContext)
Przestrzeń nazw System.Runtime.CompilerServices
- System.Runtime.CompilerServices.RuntimeWrappedException.GetObjectData(SerializationInfo, StreamingContext)
- System.Runtime.CompilerServices.SwitchExpressionException.GetObjectData(SerializationInfo, StreamingContext)
Przestrzeń nazw System.Runtime.InteropServices
- System.Runtime.InteropServices.ExternalException.ExternalException(SerializationInfo, StreamingContext)
- System.Runtime.Serialization.SerializationException.SerializationException(SerializationInfo, StreamingContext)
Przestrzeń nazw System.Runtime.Serialization
Przestrzeń nazw 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)
Przestrzeń nazw System.Security.AccessControl
Przestrzeń nazw System.Security.Authentication
- System.Security.Authentication.InvalidCredentialException.InvalidCredentialException(SerializationInfo, StreamingContext)
- System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy.ExtendedProtectionPolicy(SerializationInfo, StreamingContext)
Przestrzeń nazw System.Security.Claims
- System.Security.Claims.ClaimsIdentity.ClaimsIdentity(SerializationInfo)
- System.Security.Claims.ClaimsIdentity.ClaimsIdentity(SerializationInfo, StreamingContext)
- System.Security.Claims.ClaimsPrincipal.ClaimsPrincipal(SerializationInfo, StreamingContext)
Przestrzeń nazw 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)
Przestrzeń nazw System.Security.Policy
- System.Security.Policy.Hash.GetObjectData(SerializationInfo, StreamingContext)
- System.Security.Policy.PolicyException.PolicyException(SerializationInfo, StreamingContext)
Przestrzeń nazw System.Security.Principal
- System.Security.Principal.IdentityNotMappedException.GetObjectData(SerializationInfo, StreamingContext)
- System.Security.Principal.WindowsIdentity.WindowsIdentity(SerializationInfo, StreamingContext)
Przestrzeń nazw System.Text.Json
- System.Text.Json.JsonException.JsonException(SerializationInfo, StreamingContext)
- System.Text.Json.JsonException.GetObjectData(SerializationInfo, StreamingContext)
Przestrzeń nazw System.Text.RegularExpressions
- System.Text.RegularExpressions.RegexMatchTimeoutException.RegexMatchTimeoutException(SerializationInfo, StreamingContext)
- System.Text.RegularExpressions.RegexParseException.GetObjectData(SerializationInfo, StreamingContext)
Przestrzeń nazw 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)
Przestrzeń nazw System.Threading.Channels
Przestrzeń nazw System.Threading.Tasks
- System.Threading.Tasks.TaskCanceledException.TaskCanceledException(SerializationInfo, StreamingContext)
- System.Threading.Tasks.TaskSchedulerException.TaskSchedulerException(SerializationInfo, StreamingContext)
Przestrzeń nazw 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)
Przestrzeń nazw System.Xml
- System.Xml.XmlException.XmlException(SerializationInfo, StreamingContext)
- System.Xml.XmlException.GetObjectData(SerializationInfo, StreamingContext)
Przestrzeń nazw 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)
Przestrzeń nazw System.Xml.XPath
- System.Xml.XPath.XPathException.XPathException(SerializationInfo, StreamingContext)
- System.Xml.XPath.XPathException.GetObjectData(SerializationInfo, StreamingContext)
Przestrzeń nazw 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)
SYSLIB0053
Zobacz też
- Obsoletions interfejsu API z nie domyślnymi identyfikatorami diagnostycznymi (.NET 7)
- Obsoletions interfejsu API z nie domyślnymi identyfikatorami diagnostycznymi (.NET 6)
- Obsoletions interfejsu API z nie domyślnymi identyfikatorami diagnostycznymi (.NET 5)
- Przestarzałe funkcje na platformie .NET 5+