RecordIOStream.WriteRecordIOAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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)
Parameters
- stm
- Stream
- segment
- Segment
- produce
- RecordIOStream.ProduceFunc
- resizer
- MemorySpanResizer<Byte>
Returns
Applies to
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)
Parameters
- stm
- Stream
- segment
- Segment
- produce
- RecordIOStream.ProduceFuncAsync
- resizer
- MemorySpanResizer<Byte>