IConnection.ReadAsync(Memory<Byte>, TimeSpan) 方法

定义

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)

参数

buffer
Memory<Byte>
timeout
TimeSpan

返回

适用于