IConnection.ReadAsync(Memory<Byte>, TimeSpan) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
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)
參數
- timeout
- TimeSpan