建立非同步計算,這個計算將執行其接續的工作項目列入佇列。
命名空間/模組路徑: Microsoft.FSharp.Control
組件:FSharp.Core (在 FSharp.Core.dll 中)
// Signature:
static member SwitchToThreadPool : unit -> Async<unit>
// Usage:
Async.SwitchToThreadPool ()
傳回值
在執行緒集區中產生新工作項目的計算。
備註
使用這個方法的範例請參閱 Async.SwitchToContext 方法 (F#)和 Async.SwitchToNewThread 方法 (F#)
平台
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.0
Silverlight
支援版本:3