RecordIOStream.ReadRecordIOAsync 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
ReadRecordIOAsync(Stream, Func<Memory<Byte>,Result>, Func<Memory<Byte>,Result>, MemorySpanResizer<Byte>)
Caution
Use ReadOnlyMemory<byte> override instead.
[System.Obsolete("Use ReadOnlyMemory<byte> override instead.")]
public static System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Serialization.HybridRow.Result> ReadRecordIOAsync (this System.IO.Stream stm, Func<Memory<byte>,Microsoft.Azure.Cosmos.Serialization.HybridRow.Result> visitRecord, Func<Memory<byte>,Microsoft.Azure.Cosmos.Serialization.HybridRow.Result> visitSegment = default, Microsoft.Azure.Cosmos.Serialization.HybridRow.MemorySpanResizer<byte> resizer = default);
public static System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Serialization.HybridRow.Result> ReadRecordIOAsync (this System.IO.Stream stm, Func<Memory<byte>,Microsoft.Azure.Cosmos.Serialization.HybridRow.Result> visitRecord, Func<Memory<byte>,Microsoft.Azure.Cosmos.Serialization.HybridRow.Result> visitSegment = default, Microsoft.Azure.Cosmos.Serialization.HybridRow.MemorySpanResizer<byte> resizer = default);
[<System.Obsolete("Use ReadOnlyMemory<byte> override instead.")>]
static member ReadRecordIOAsync : System.IO.Stream * Func<Memory<byte>, Microsoft.Azure.Cosmos.Serialization.HybridRow.Result> * Func<Memory<byte>, Microsoft.Azure.Cosmos.Serialization.HybridRow.Result> * Microsoft.Azure.Cosmos.Serialization.HybridRow.MemorySpanResizer<byte> -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Serialization.HybridRow.Result>
static member ReadRecordIOAsync : System.IO.Stream * Func<Memory<byte>, Microsoft.Azure.Cosmos.Serialization.HybridRow.Result> * Func<Memory<byte>, Microsoft.Azure.Cosmos.Serialization.HybridRow.Result> * Microsoft.Azure.Cosmos.Serialization.HybridRow.MemorySpanResizer<byte> -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Serialization.HybridRow.Result>
<Extension()>
Public Function ReadRecordIOAsync (stm As Stream, visitRecord As Func(Of Memory(Of Byte), Result), Optional visitSegment As Func(Of Memory(Of Byte), Result) = Nothing, Optional resizer As MemorySpanResizer(Of Byte) = Nothing) As Task(Of Result)
Parameters
- stm
- Stream
- resizer
- MemorySpanResizer<Byte>
Returns
- Attributes
Applies to
ReadRecordIOAsync(Stream, Func<ReadOnlyMemory<Byte>,Result>, Func<ReadOnlyMemory<Byte>,Result>, MemorySpanResizer<Byte>)
public static System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Serialization.HybridRow.Result> ReadRecordIOAsync (this System.IO.Stream stm, Func<ReadOnlyMemory<byte>,Microsoft.Azure.Cosmos.Serialization.HybridRow.Result> visitRecord, Func<ReadOnlyMemory<byte>,Microsoft.Azure.Cosmos.Serialization.HybridRow.Result> visitSegment = default, Microsoft.Azure.Cosmos.Serialization.HybridRow.MemorySpanResizer<byte> resizer = default);
static member ReadRecordIOAsync : System.IO.Stream * Func<ReadOnlyMemory<byte>, Microsoft.Azure.Cosmos.Serialization.HybridRow.Result> * Func<ReadOnlyMemory<byte>, Microsoft.Azure.Cosmos.Serialization.HybridRow.Result> * Microsoft.Azure.Cosmos.Serialization.HybridRow.MemorySpanResizer<byte> -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Serialization.HybridRow.Result>
<Extension()>
Public Function ReadRecordIOAsync (stm As Stream, visitRecord As Func(Of ReadOnlyMemory(Of Byte), Result), Optional visitSegment As Func(Of ReadOnlyMemory(Of Byte), Result) = Nothing, Optional resizer As MemorySpanResizer(Of Byte) = Nothing) As Task(Of Result)
Parameters
- stm
- Stream
- visitRecord
- Func<ReadOnlyMemory<Byte>,Result>
- visitSegment
- Func<ReadOnlyMemory<Byte>,Result>
- resizer
- MemorySpanResizer<Byte>
Returns
Applies to
ReadRecordIOAsync(Stream, Func<ReadOnlyMemory<Byte>,ValueTask<Result>>, Func<ReadOnlyMemory<Byte>,ValueTask<Result>>, MemorySpanResizer<Byte>)
public static System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Serialization.HybridRow.Result> ReadRecordIOAsync (this System.IO.Stream stm, Func<ReadOnlyMemory<byte>,System.Threading.Tasks.ValueTask<Microsoft.Azure.Cosmos.Serialization.HybridRow.Result>> visitRecord, Func<ReadOnlyMemory<byte>,System.Threading.Tasks.ValueTask<Microsoft.Azure.Cosmos.Serialization.HybridRow.Result>> visitSegment = default, Microsoft.Azure.Cosmos.Serialization.HybridRow.MemorySpanResizer<byte> resizer = default);
static member ReadRecordIOAsync : System.IO.Stream * Func<ReadOnlyMemory<byte>, System.Threading.Tasks.ValueTask<Microsoft.Azure.Cosmos.Serialization.HybridRow.Result>> * Func<ReadOnlyMemory<byte>, System.Threading.Tasks.ValueTask<Microsoft.Azure.Cosmos.Serialization.HybridRow.Result>> * Microsoft.Azure.Cosmos.Serialization.HybridRow.MemorySpanResizer<byte> -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.Serialization.HybridRow.Result>
<Extension()>
Public Function ReadRecordIOAsync (stm As Stream, visitRecord As Func(Of ReadOnlyMemory(Of Byte), ValueTask(Of Result)), Optional visitSegment As Func(Of ReadOnlyMemory(Of Byte), ValueTask(Of Result)) = Nothing, Optional resizer As MemorySpanResizer(Of Byte) = Nothing) As Task(Of Result)
Parameters
- stm
- Stream
- visitRecord
- Func<ReadOnlyMemory<Byte>,ValueTask<Result>>
- visitSegment
- Func<ReadOnlyMemory<Byte>,ValueTask<Result>>
- resizer
- MemorySpanResizer<Byte>
Returns
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET