Source Property
Collapse the table of content
Expand the table of content

AudioTrack.Source Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

The URI path to the track.

Namespace:  Microsoft.Phone.BackgroundAudio
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)
XMLNS for XAML: Not mapped to an xmlns.

public Uri Source { get; set; }
<object Source="Uri" .../>

Property Value

Type: System.Uri
Returns Uri.

ExceptionCondition
InvalidOperationException

The value was set, but the object is not in edit mode.

This path can be absolute, such as a web address, or a relative path, such as a path to isolated storage. This property is not needed if the track uses an audio stream.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2016 Microsoft