1 write to Connection
System.ServiceModel.NetFramingBase (1)
System\ServiceModel\Channels\Connection.cs (1)
89
Connection
= connection;
14 references to Connection
System.ServiceModel.NetFramingBase (14)
System\ServiceModel\Channels\Connection.cs (13)
175
Connection
.Abort();
182
Connection
.CloseAsync(CloseTimeout).GetAwaiter().GetResult();
193
return
Connection
.WriteAsync(new Memory<byte>(buffer, offset, count), Immediate, TimeoutHelper.FromMilliseconds(WriteTimeout)).AsTask();
198
Connection
.WriteAsync(new Memory<byte>(buffer, offset, count), Immediate, TimeoutHelper.FromMilliseconds(WriteTimeout)).GetAwaiter().GetResult();
208
Connection
.WriteAsync(memBuffer, Immediate, TimeoutHelper.FromMilliseconds(WriteTimeout)).GetAwaiter().GetResult();
218
return
Connection
.WriteAsync(buffer, Immediate, TimeoutHelper.FromMilliseconds(WriteTimeout));
223
return
Connection
.WriteAsync(new Memory<byte>(buffer, offset, count), Immediate, TimeoutHelper.FromMilliseconds(WriteTimeout))
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();
337
public int ConnectionBufferSize => _innerStream.
Connection
.ConnectionBufferSize;
System\ServiceModel\Channels\SingletonConnectionReader.cs (1)
626
return
Connection
.WriteAsync(_encodedSize.Slice(0, bytesEncoded), false, TimeoutHelper.FromMilliseconds(WriteTimeout));