# System.DirectoryServices.ActiveDirectory

``` diff
 namespace System.DirectoryServices.ActiveDirectory {
     public class ActiveDirectoryObjectExistsException : Exception {
-        protected ActiveDirectoryObjectExistsException(SerializationInfo info, StreamingContext context);
+        [EditorBrowsableAttribute(1)]
+        [ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
+        protected ActiveDirectoryObjectExistsException(SerializationInfo info, StreamingContext context);
     }
     public class ActiveDirectoryObjectNotFoundException : Exception, ISerializable {
-        protected ActiveDirectoryObjectNotFoundException(SerializationInfo info, StreamingContext context);
+        [EditorBrowsableAttribute(1)]
+        [ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
+        protected ActiveDirectoryObjectNotFoundException(SerializationInfo info, StreamingContext context);
-        public override void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext);
+        [EditorBrowsableAttribute(1)]
+        [ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
+        public override void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext);
     }
     public class ActiveDirectoryOperationException : Exception, ISerializable {
-        protected ActiveDirectoryOperationException(SerializationInfo info, StreamingContext context);
+        [EditorBrowsableAttribute(1)]
+        [ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
+        protected ActiveDirectoryOperationException(SerializationInfo info, StreamingContext context);
-        public override void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext);
+        [EditorBrowsableAttribute(1)]
+        [ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
+        public override void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext);
     }
     public class ActiveDirectoryServerDownException : Exception, ISerializable {
-        protected ActiveDirectoryServerDownException(SerializationInfo info, StreamingContext context);
+        [EditorBrowsableAttribute(1)]
+        [ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
+        protected ActiveDirectoryServerDownException(SerializationInfo info, StreamingContext context);
-        public override void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext);
+        [EditorBrowsableAttribute(1)]
+        [ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
+        public override void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext);
     }
     public class ForestTrustCollisionException : ActiveDirectoryOperationException, ISerializable {
-        protected ForestTrustCollisionException(SerializationInfo info, StreamingContext context);
+        [EditorBrowsableAttribute(1)]
+        [ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
+        protected ForestTrustCollisionException(SerializationInfo info, StreamingContext context);
-        public override void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext);
+        [EditorBrowsableAttribute(1)]
+        [ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
+        public override void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext);
     }
     public class SyncFromAllServersOperationException : ActiveDirectoryOperationException, ISerializable {
-        protected SyncFromAllServersOperationException(SerializationInfo info, StreamingContext context);
+        [EditorBrowsableAttribute(1)]
+        [ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
+        protected SyncFromAllServersOperationException(SerializationInfo info, StreamingContext context);
-        public override void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext);
+        [EditorBrowsableAttribute(1)]
+        [ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
+        public override void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext);
     }
 }
```

