具有非預設診斷識別碼的 API 淘汰 (.NET 8)
從 .NET 8 開始,某些 API 已標示為已淘汰。 這項中斷性變更專屬於已標示為已過時且「具有自訂診斷識別碼」的 API。 隱藏 C# 編譯器的預設淘汰診斷識別碼,也就是 CS0618,不會隱藏使用這些 API 時編譯器所產生的警告。
變更描述
在舊版 .NET 中,可以使用這些 API,且不會出現任何建置警告。 在 .NET 8 與更新版本中,使用這些 API 會產生具有自訂診斷識別碼的編譯時間警告或錯誤。 使用自訂診斷識別碼可讓您個別隱藏淘汰警告,而不是隱藏所有淘汰警告。
下表列出已淘汰 API 的自訂診斷識別碼及其對應的警告訊息。
診斷識別碼 | 描述 | 嚴重性 |
---|---|---|
SYSLIB0011 | BinaryFormatter 序列化已淘汰 | 警告/錯誤 |
SYSLIB0048 | RSA.EncryptValue(Byte[]) 和 RSA.DecryptValue(Byte[]) 已淘汰。 請改用 RSA.Encrypt 和 RSA.Decrypt。 | 警告 |
SYSLIB0049 | JsonSerializerOptions.AddContext 已淘汰。 若要註冊 JsonSerializerContext,請使用 TypeInfoResolver 或 TypeInfoResolverChain 屬性。 | 警告 |
SYSLIB0050 | 格式器型序列化已淘汰,不應使用。 | 警告 |
SYSLIB0051 | 支援已淘汰的格式器型序列化的 API 已淘汰。 不應透過應用程式程式碼呼叫或延伸它們。 | 警告 |
SYSLIB0052 | 支援規則運算式擴充性已淘汰機制的 API 已淘汰。 | 警告 |
SYSLIB0053 | AesGcm 應該指出加密和解密所需的標記大小。 使用接受該標記大小的建構函式。 | 警告 |
導入的版本
.NET 8
中斷性變更的類型
這些混淆可能會影響來源相容性。
建議的動作
請使用警告上提供的 URL 連結來遵循針對每個診斷識別碼提供的特定指引。
使用淘汰類型或成員的標準診斷識別碼無法隱藏這些淘汰項目的警告或錯誤;請改用自訂
SYSLIBxxxx
診斷識別碼值。
受影響的 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 命名空間
- 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)