共用方式為


System.IObservable<'T> 介面 (F#)

可預見結果的來源

命名空間/模組路徑:System

組件:FSharp.Core (在 FSharp.Core.dll 中)

[<AllowNullLiteral>]
type IObservable<'T> =
 interface
  abstract this.Subscribe : IObserver<'T> -> IDisposable
 end

備註

這個型別僅可搭配 F# 核心程式庫版本以 .NET Framework 2.0 為目標。 如果您是使用 .NET Framework 4,請使用名稱一樣是 IObservable<T> 的 .NET Framework 4 型別。

執行個體成員

成員

描述

Subscribe

訂閱結果來源的觀察器

平台

Windows 8 中, Windows 7, Windows Server 2012 上, Windows Server 2008 R2

版本資訊

F# 核心程式庫版本

支援版本:2.0

請參閱

參考

System 命名空間 (F#)

Control.Observable 模組 (F#)