Я пытаюсь включить метод Song.FromURI() в текущее приложение, но всегда возникает «CrossThreadMessagingException».Song.fromURI() бросает Исключение?
Я начал новый проект и буквально скопировал и вставил код из примера MSDN (http://msdn.microsoft.com/en-us/library/ff634558.aspx), и все же исключение все еще происходит. Он кажется тихим (без прерывания), но препятствует доступу к любым членам.
Спасибо.
Uri uriStreaming = new Uri("http://www.archive.org/download/gd1977-05-08.shure57.stevenson.29303.flac16/gd1977-05-08d02t06_vbr.mp3");
Song song = Song.FromUri("StreamingUri", uriStreaming);
'song.Album' threw an exception of type 'Microsoft.VisualStudio.Debugger.Runtime.CrossThreadMessagingException'
'song.Artist' threw an exception of type 'Microsoft.VisualStudio.Debugger.Runtime.CrossThreadMessagingException'
'song.Genre' threw an exception of type 'Microsoft.VisualStudio.Debugger.Runtime.CrossThreadMessagingException'
'song.PlayCount' threw an exception of type 'Microsoft.VisualStudio.Debugger.Runtime.CrossThreadMessagingException'