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
- track
Type: Microsoft.Phone.BackgroundAudio.AudioTrack
- error
Type: System.Exception
- isFatal
Type: System.Boolean
Version Information
.NET for Windows Phone apps
Supported in: Windows Phone 8, Silverlight 8.1
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.