SoundPlayer Constructor (SerializationInfo^, StreamingContext)
.NET Framework (current version)
Initializes a new instance of the SoundPlayer class.
Assembly: System (in System.dll)
Parameters
- serializationInfo
-
Type:
System.Runtime.Serialization::SerializationInfo^
The SerializationInfo to be used for deserialization.
- context
-
Type:
System.Runtime.Serialization::StreamingContext
The destination to be used for deserialization.
| Exception | Condition |
|---|---|
| UriFormatException | The SoundLocation specified in serializationInfo cannot be resolved. |
.NET Framework
Available since 2.0
Available since 2.0
Show: