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