共用方式為


IEventLoop.Invoke<'T> 方法 (F#)

要求在事件迴圈上以非同步方式執行指定的作業。

**命名空間/模組路徑:**Microsoft.FSharp.Compiler.Interactive

**組件:**FSharp.Compiler.Interactive.Settings (在 FSharp.Compiler.Interactive.Settings.dll 中)

// Signature:
abstract this.Invoke : (unit -> 'T) -> 'T

// Usage:
iEventLoop.Invoke (func)

參數

  • func
    型別:unit -> 'T

    執行事件迴圈的函式。

平台

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

請參閱

參考

Interactive.IEventLoop 介面 (F#)

Microsoft.FSharp.Compiler.Interactive 命名空間 (F#)