提供一组用于构造通知的静态方法。
继承层次结构
System.Object
System.Reactive.Notification
Namespace:System.Reactive
装配: System.Reactive.dll) 中的 System.Reactive (
语法
'Declaration
Public NotInheritable Class Notification
'Usage
public static class Notification
public ref class Notification abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type Notification = class end
public final class Notification
通知类型公开以下成员。
方法
名称 | 说明 | |
---|---|---|
![]() ![]() |
CreateOnCompleted<T> | 创建一个 对象,该对象表示向观察者发送的 OnCompleted 通知。 |
![]() ![]() |
CreateOnError<T> | 创建一个 对象,该对象表示向观察者发送的 OnError 通知。 |
![]() ![]() |
CreateOnNext<T> | 创建一个 对象,该对象表示向观察者发送的 OnNext 通知。 |
顶部
线程安全性
此类型的所有公共静态(Visual Basic 中共享的)成员都是线程安全的。 但不保证所有实例成员都是线程安全的。