# System.Media

``` diff
 namespace System.Media {
     [ToolboxItemAttribute(false)]
     public class SoundPlayer : Component, ISerializable {
-        protected SoundPlayer(SerializationInfo serializationInfo, 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 SoundPlayer(SerializationInfo serializationInfo, StreamingContext context);
     }
 }
```

