4 implementations of WriteAsync
System.ServiceModel.NetFramingBase (2)
System\ServiceModel\Channels\Connection.cs (2)
39public virtual ValueTask WriteAsync(ReadOnlyMemory<byte> buffer, bool immediate, TimeSpan timeout) => Connection.WriteAsync(buffer, immediate, timeout); 305public async ValueTask WriteAsync(ReadOnlyMemory<byte> buffer, bool immediate, TimeSpan timeout)
System.ServiceModel.NetNamedPipe (1)
System\ServiceModel\Channels\PipeConnection.cs (1)
160public async ValueTask WriteAsync(ReadOnlyMemory<byte> buffer, bool immediate, TimeSpan timeout)
System.ServiceModel.UnixDomainSocket (1)
System\ServiceModel\Channels\SocketConnection.cs (1)
239public async ValueTask WriteAsync(ReadOnlyMemory<byte> buffer, bool immediate, TimeSpan timeout)
22 references to WriteAsync
System.ServiceModel.NetFramingBase (22)
System\ServiceModel\Channels\BufferedConnection.cs (3)
58await Connection.WriteAsync(_writeBuffer.Slice(0, _pendingWriteSize), false, timeout); 153await Connection.WriteAsync(buffer, true, timeout); 173await Connection.WriteAsync(buffer, false, timeoutHelper.RemainingTime());
System\ServiceModel\Channels\Connection.cs (6)
39public virtual ValueTask WriteAsync(ReadOnlyMemory<byte> buffer, bool immediate, TimeSpan timeout) => Connection.WriteAsync(buffer, immediate, timeout); 193return Connection.WriteAsync(new Memory<byte>(buffer, offset, count), Immediate, TimeoutHelper.FromMilliseconds(WriteTimeout)).AsTask(); 198Connection.WriteAsync(new Memory<byte>(buffer, offset, count), Immediate, TimeoutHelper.FromMilliseconds(WriteTimeout)).GetAwaiter().GetResult(); 208Connection.WriteAsync(memBuffer, Immediate, TimeoutHelper.FromMilliseconds(WriteTimeout)).GetAwaiter().GetResult(); 218return Connection.WriteAsync(buffer, Immediate, TimeoutHelper.FromMilliseconds(WriteTimeout)); 223return Connection.WriteAsync(new Memory<byte>(buffer, offset, count), Immediate, TimeoutHelper.FromMilliseconds(WriteTimeout))
System\ServiceModel\Channels\FramingChannels.cs (7)
44return Connection.WriteAsync(SessionEncoder.EndBytes, true, timeout); 61await Connection.WriteAsync(messageData, !allowOutputBatching, timeout); 67return Connection.WriteAsync(SessionEncoder.EndBytes, true, timeout); 72return Connection.WriteAsync(messageData, !allowOutputBatching, timeout); 226await connection.WriteAsync(preamble, true, timeoutHelper.RemainingTime()); 249await connection.WriteAsync(SessionEncoder.PreambleEndBytes, true, timeoutHelper.RemainingTime()); 427await connection.WriteAsync(encodedUpgrade.EncodedBytes, true, timeout);
System\ServiceModel\Channels\SingletonConnectionReader.cs (4)
583await connection.WriteAsync(envelopeStartBytes, false, timeoutHelper.RemainingTime()); 594await connection.WriteAsync(new Memory<byte>(messageData.Array, messageData.Offset - envelopeStartBytes.Length, 605await connection.WriteAsync(endBytes, 626return Connection.WriteAsync(_encodedSize.Slice(0, bytesEncoded), false, TimeoutHelper.FromMilliseconds(WriteTimeout));
System\ServiceModel\Channels\StreamedFramingRequestChannel.cs (2)
73await connection.WriteAsync(Preamble, true, timeoutHelper.RemainingTime()); 93await connection.WriteAsync(ClientSingletonEncoder.PreambleEndBytes, true, timeoutHelper.RemainingTime());