MediaPlayer.Stop Method ()

 

Stops media playback.

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

Public Sub Stop

Calling Stop when a player has an associated Clock will throw an InvalidOperationException. Stop cannot be called while the timing engine drives media playback.

.NET Framework
Available since 3.0
Return to top
Show: