MediaPlayer.Stop Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Stops media playback.
public:
void Stop();
public void Stop ();
member this.Stop : unit -> unit
Public Sub Stop ()
Remarks
Calling Stop when a player has an associated Clock will throw an InvalidOperationException. Stop cannot be called while the timing engine drives media playback.