AudioPlayerAgent.OnError 方法

命名空间:  Microsoft.Phone.BackgroundAudio
程序集:  Microsoft.Phone(在 Microsoft.Phone.dll 中)

语法

声明
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 

参数

版本信息

适用于 Windows Phone 应用的 .NET

受以下版本支持:Windows Phone 8、Silverlight 8.1

.NET Framework 安全性

请参阅

参考

AudioPlayerAgent 类

Microsoft.Phone.BackgroundAudio 命名空间