Windows Dev Center

BackgroundAudioPlayer.Pause Method

Pauses playback at the current position.

Namespace:  Microsoft.Phone.BackgroundAudio
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

public void Pause()

ExceptionCondition
InvalidOperationException

Pause() was called, but there is no current Track set.

This method is not affected by the enabled PlayerControls of the current AudioTrack.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2015 Microsoft