共用方式為


RecordIOStream.ReadRecordIOAsync Method

Definition

Overloads

ReadRecordIOAsync(Stream, Func<Memory<Byte>,Result>, Func<Memory<Byte>,Result>, MemorySpanResizer<Byte>)
Obsolete.
ReadRecordIOAsync(Stream, Func<ReadOnlyMemory<Byte>,Result>, Func<ReadOnlyMemory<Byte>,Result>, MemorySpanResizer<Byte>)
ReadRecordIOAsync(Stream, Func<ReadOnlyMemory<Byte>,ValueTask<Result>>, Func<ReadOnlyMemory<Byte>,ValueTask<Result>>, MemorySpanResizer<Byte>)

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
visitRecord
Func<Memory<Byte>,Result>
visitSegment
Func<Memory<Byte>,Result>

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>

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

Returns

Applies to