Bagikan melalui


IConnection.ReadAsync(Memory<Byte>, TimeSpan) Metode

Definisi

public:
 System::Threading::Tasks::ValueTask<int> ReadAsync(Memory<System::Byte> buffer, TimeSpan timeout);
public System.Threading.Tasks.ValueTask<int> ReadAsync (Memory<byte> buffer, TimeSpan timeout);
abstract member ReadAsync : Memory<byte> * TimeSpan -> System.Threading.Tasks.ValueTask<int>
Public Function ReadAsync (buffer As Memory(Of Byte), timeout As TimeSpan) As ValueTask(Of Integer)

Parameter

buffer
Memory<Byte>
timeout
TimeSpan

Mengembalikan

Berlaku untuk