4 implementations of ReadAsync
System.ServiceModel.NetFramingBase (2)
System\ServiceModel\Channels\Connection.cs (2)
38public virtual ValueTask<int> ReadAsync(Memory<byte> buffer, TimeSpan timeout) => Connection.ReadAsync(buffer, timeout); 292public async ValueTask<int> ReadAsync(Memory<byte> buffer, TimeSpan timeout)
System.ServiceModel.NetNamedPipe (1)
System\ServiceModel\Channels\PipeConnection.cs (1)
114public async ValueTask<int> ReadAsync(Memory<byte> buffer, TimeSpan timeout)
System.ServiceModel.UnixDomainSocket (1)
System\ServiceModel\Channels\SocketConnection.cs (1)
156public ValueTask<int> ReadAsync(Memory<byte> buffer, TimeSpan timeout)
14 references to ReadAsync
System.ServiceModel.NetFramingBase (14)
System\ServiceModel\Channels\Connection.cs (6)
38public virtual ValueTask<int> ReadAsync(Memory<byte> buffer, TimeSpan timeout) => Connection.ReadAsync(buffer, timeout); 232return Connection.ReadAsync(new Memory<byte>(buffer, offset, count), TimeoutHelper.FromMilliseconds(ReadTimeout)).AsTask(); 237return Connection.ReadAsync(buffer, TimeoutHelper.FromMilliseconds(ReadTimeout)); 247bytesRead = Connection.ReadAsync(memBuffer, TimeoutHelper.FromMilliseconds(ReadTimeout)).GetAwaiter().GetResult(); 260return Connection.ReadAsync(new Memory<byte>(buffer, offset, count), TimeoutHelper.FromMilliseconds(ReadTimeout)).GetAwaiter().GetResult(); 265return Connection.ReadAsync(new Memory<byte>(buffer, offset, count), timeout).GetAwaiter().GetResult();
System\ServiceModel\Channels\FramingChannels.cs (4)
252int ackBytesRead = await connection.ReadAsync(ackBuffer, timeoutHelper.RemainingTime()); 381int size = await connection.ReadAsync(new Memory<byte>(faultBuffer,0, 407size = await connection.ReadAsync(new Memory<byte>(faultBuffer, 0, 431int size = await connection.ReadAsync(buffer, timeout);
System\ServiceModel\Channels\SessionConnectionReader.cs (2)
115bytesRead = await _connection.ReadAsync(new Memory<byte>(EnvelopeBuffer, EnvelopeOffset, _connection.ConnectionBufferSize), timeoutHelper.RemainingTime()); 122bytesRead = await _connection.ReadAsync(new Memory<byte>(_buffer, 0, _connection.ConnectionBufferSize), timeoutHelper.RemainingTime());
System\ServiceModel\Channels\SingletonConnectionReader.cs (1)
155size = await Connection.ReadAsync(new Memory<byte>(buffer, 0, Connection.ConnectionBufferSize), timeoutHelper.RemainingTime());
System\ServiceModel\Channels\StreamedFramingRequestChannel.cs (1)
97int ackBytesRead = await connection.ReadAsync(ackBuffer, timeoutHelper.RemainingTime());