# System.Drawing.Printing

``` diff
 namespace System.Drawing.Printing {
     [TypeForwardedFromAttribute("System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
     public class InvalidPrinterException : SystemException {
-        protected InvalidPrinterException(SerializationInfo info, StreamingContext context);
+        [ObsoleteAttribute(DiagnosticId="SYSLIB0051")]
+        protected InvalidPrinterException(SerializationInfo info, StreamingContext context);
-        public override void GetObjectData(SerializationInfo info, StreamingContext context);
+        [ObsoleteAttribute(DiagnosticId="SYSLIB0051")]
+        public override void GetObjectData(SerializationInfo info, StreamingContext context);
     }
 }
```

