Stream.AsyncWrite 擴充方法 (F#)
傳回會將指定之位元組寫入至資料流的非同步計算。
命名空間/模組路徑: Microsoft.FSharp.Control.CommonExtensions
組件:FSharp.Core (在 FSharp.Core.dll 中)
// Signature:
type System.IO.Stream with
member AsyncWrite : byte [] * ?int * ?int -> Async<unit>
// Usage:
stream.AsyncWrite (buffer)
參數
例外狀況
例外狀況 |
說明 |
---|---|
當 offset 或 count 大於緩衝區長度時,擲回此例外狀況。 |
平台
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
Silverlight
支援版本:3