你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
RecordIOStream.WriteRecordIOAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
WriteRecordIOAsync(Stream, Segment, RecordIOStream+ProduceFunc, MemorySpanResizer<Byte>) | |
WriteRecordIOAsync(Stream, Segment, RecordIOStream+ProduceFuncAsync, MemorySpanResizer<Byte>) |
WriteRecordIOAsync(Stream, Segment, RecordIOStream+ProduceFunc, MemorySpanResizer<Byte>)
public static System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Serialization.HybridRow.Result> WriteRecordIOAsync(this System.IO.Stream stm, Microsoft.Azure.Cosmos.Serialization.HybridRow.RecordIO.Segment segment, Microsoft.Azure.Cosmos.Serialization.HybridRow.RecordIO.RecordIOStream.ProduceFunc produce, Microsoft.Azure.Cosmos.Serialization.HybridRow.MemorySpanResizer<byte> resizer = default);
static member WriteRecordIOAsync : System.IO.Stream * Microsoft.Azure.Cosmos.Serialization.HybridRow.RecordIO.Segment * Microsoft.Azure.Cosmos.Serialization.HybridRow.RecordIO.RecordIOStream.ProduceFunc * Microsoft.Azure.Cosmos.Serialization.HybridRow.MemorySpanResizer<byte> -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Serialization.HybridRow.Result>
<Extension()>
Public Function WriteRecordIOAsync (stm As Stream, segment As Segment, produce As RecordIOStream.ProduceFunc, Optional resizer As MemorySpanResizer(Of Byte) = Nothing) As Task(Of Result)
参数
- stm
- Stream
- segment
- Segment
- produce
- RecordIOStream.ProduceFunc
- resizer
- MemorySpanResizer<Byte>
返回
适用于
WriteRecordIOAsync(Stream, Segment, RecordIOStream+ProduceFuncAsync, MemorySpanResizer<Byte>)
public static System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Serialization.HybridRow.Result> WriteRecordIOAsync(this System.IO.Stream stm, Microsoft.Azure.Cosmos.Serialization.HybridRow.RecordIO.Segment segment, Microsoft.Azure.Cosmos.Serialization.HybridRow.RecordIO.RecordIOStream.ProduceFuncAsync produce, Microsoft.Azure.Cosmos.Serialization.HybridRow.MemorySpanResizer<byte> resizer = default);
static member WriteRecordIOAsync : System.IO.Stream * Microsoft.Azure.Cosmos.Serialization.HybridRow.RecordIO.Segment * Microsoft.Azure.Cosmos.Serialization.HybridRow.RecordIO.RecordIOStream.ProduceFuncAsync * Microsoft.Azure.Cosmos.Serialization.HybridRow.MemorySpanResizer<byte> -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Serialization.HybridRow.Result>
<Extension()>
Public Function WriteRecordIOAsync (stm As Stream, segment As Segment, produce As RecordIOStream.ProduceFuncAsync, Optional resizer As MemorySpanResizer(Of Byte) = Nothing) As Task(Of Result)
参数
- stm
- Stream
- segment
- Segment
- produce
- RecordIOStream.ProduceFuncAsync
- resizer
- MemorySpanResizer<Byte>