BackgroundAudioPlayer.Stop Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Stops and resets media to be played from the beginning.
Namespace: Microsoft.Phone.BackgroundAudio
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
Syntax
Public Sub Stop
public void Stop()
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | Stop()()() was called, but there is no current Track set. |
Version Information
Windows Phone OS
Supported in: 8.1, 8.0, 7.1
Platforms
Windows Phone