Interactive.IEventLoop 介面 (F#)
事件迴圈,目前執行中 F# Interactive 工作階段用來在 GUI 內容或其他事件型系統中執行程式碼。
**命名空間/模組路徑:**Microsoft.FSharp.Compiler.Interactive
**組件:**FSharp.Compiler.Interactive.Settings (在 FSharp.Compiler.Interactive.Settings.dll 中)
type IEventLoop =
interface
abstract this.Invoke : (unit -> 'T) -> 'T
abstract this.Run : unit -> bool
abstract this.ScheduleRestart : unit -> unit
end
執行個體成員
成員 |
描述 |
---|---|
要求在事件迴圈上以非同步方式執行指定的作業。 |
|
執行事件迴圈。 傳回 true 表示事件迴圈已重新啟動。 |
|
為事件迴圈排定重新啟動。 |
平台
Windows 7、Windows Vista SP2、Windows XP SP3、Windows XP x64 SP2、Windows Server 2008 R2、Windows Server 2008 SP2、Windows Server 2003 SP2
版本資訊
F# 執行階段
支援版本:2.0、4
Silverlight
支援版本:3