MediaPlayer.Pause Method

Definition

Pauses media playback.

public:
 void Pause();
public void Pause ();
member this.Pause : unit -> unit
Public Sub Pause ()

Remarks

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

Applies to