Notification<T>.OnError 类

继承层次结构

System.Object
  Microsoft.Phone.Reactive.Notification<T>
    Microsoft.Phone.Reactive.Notification<T>.OnError

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

语法

声明
Public NotInheritable Class OnError _
    Inherits Notification(Of T)
public sealed class OnError : Notification<T>
public ref class OnError sealed : public Notification<T>
[<Sealed>]
type OnError =  
    class
        inherit Notification<'T>
    end

Notification<T>.OnError 泛型类型公开以下成员。

构造函数

  名称 说明
公共方法 Notification<T>.OnError

页首

属性

  名称 说明
公共属性 Exception (重写 Notification<T>.Exception。)
公共属性 HasValue (重写 Notification<T>.HasValue。)
公共属性 Kind (重写 Notification<T>.Kind。)
公共属性 Value (重写 Notification<T>.Value。)

页首

方法

  名称 说明
公共方法 Accept(IObserver<T>) (重写 Notification<T>.Accept(IObserver<T>)。)
公共方法 Accept(Action<T>, Action<Exception>, Action) (重写 Notification<T>.Accept(Action<T>, Action<Exception>, Action)。)
公共方法 Accept<TResult>(IObserver<T, TResult>) (继承自 Notification<T>。)
公共方法 Accept<TResult>(IObserver<T, TResult>) (重写 Notification<T>.Accept<TResult>(IObserver<T, TResult>)。)
公共方法 Accept<TResult>(Func<T, TResult>, Func<Exception, TResult>, Func<TResult>) (继承自 Notification<T>。)
公共方法 Accept<TResult>(Func<T, TResult>, Func<Exception, TResult>, Func<TResult>) (重写 Notification<T>.Accept<TResult>(Func<T, TResult>, Func<Exception, TResult>, Func<TResult>)。)
公共方法 Equals(Notification<T>) (重写 Notification<T>.Equals(Notification<T>)。)
公共方法 Equals(Object) (继承自 Notification<T>。)
公共方法 GetHashCode (重写 Notification<T>.GetHashCode()。)
公共方法 GetType 获取当前实例的 Type。 (继承自 Object。)
公共方法 ToString (重写 Object.ToString()。)

页首

扩展方法 

  名称 说明
公共扩展方法 ToObservable<T>() 已重载。 (由 Notification 定义。)
公共扩展方法 ToObservable<T>(IScheduler) 已重载。 (由 Notification 定义。)

页首

版本信息

适用于 Windows Phone 应用的 .NET

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

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.Phone.Reactive 命名空间