共用方式為


FrameReader.ReadAsync Method

Definition

Overloads

ReadAsync()

Asynchronously read a frame. Not implemented.

ReadAsync(Memory<Byte>)

Not implemented.

ReadAsync()

Asynchronously read a frame. Not implemented.

public System.Threading.Tasks.Task<ReadOnlyMemory<byte>> ReadAsync ();
member this.ReadAsync : unit -> System.Threading.Tasks.Task<ReadOnlyMemory<byte>>
Public Function ReadAsync () As Task(Of ReadOnlyMemory(Of Byte))

Returns

A task that will hold the frame as a memory buffer

Applies to

ReadAsync(Memory<Byte>)

Not implemented.

public System.Threading.Tasks.Task<ulong> ReadAsync (Memory<byte> buffer);
member this.ReadAsync : Memory<byte> -> System.Threading.Tasks.Task<uint64>
Public Function ReadAsync (buffer As Memory(Of Byte)) As Task(Of ULong)

Parameters

buffer
Memory<Byte>

Returns

Task with count of bytes read.

Applies to