AudioPlayerAgent.OnError Method

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

Syntax

'Declaration
Protected Overridable Sub OnError ( _
    player As BackgroundAudioPlayer, _
    track As AudioTrack, _
    error As Exception, _
    isFatal As Boolean _
)
protected virtual void OnError(
    BackgroundAudioPlayer player,
    AudioTrack track,
    Exception error,
    bool isFatal
)
protected:
virtual void OnError(
    BackgroundAudioPlayer^ player, 
    AudioTrack^ track, 
    Exception^ error, 
    bool isFatal
)
abstract OnError : 
        player:BackgroundAudioPlayer * 
        track:AudioTrack * 
        error:Exception * 
        isFatal:bool -> unit  
override OnError : 
        player:BackgroundAudioPlayer * 
        track:AudioTrack * 
        error:Exception * 
        isFatal:bool -> unit

Parameters

Version Information

.NET for Windows Phone apps

Supported in: Windows Phone 8, Silverlight 8.1

.NET Framework Security

See Also

Reference

AudioPlayerAgent Class

Microsoft.Phone.BackgroundAudio Namespace