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 8,Windows 7,Windows server 2012中,Windows server 2008 R2
版本信息
F#核心库版本
受以下版本支持:2.0