4 writes to Connection
System.ServiceModel (4)
System\ServiceModel\Channels\FramingChannels.cs (1)
366
this.
Connection
= connection;
System\ServiceModel\Channels\SessionConnectionReader.cs (3)
357
this.
Connection
= preambleReader.Connection;
455
this.
Connection
= InitialServerConnectionReader.UpgradeConnection(connectionToUpgrade, upgradeAcceptor, this);
503
this.
Connection
= upgradedConnection;
22 references to Connection
System.ServiceModel (22)
System\ServiceModel\Channels\FramingChannels.cs (5)
67
Connection
.Write(SessionEncoder.EndBytes, 0, SessionEncoder.EndBytes.Length, true, timeout);
90
this.
Connection
.Write(messageData.Array, messageData.Offset, messageData.Count, !allowOutputBatching,
96
return this.
Connection
.BeginWrite(SessionEncoder.EndBytes, 0, SessionEncoder.EndBytes.Length,
102
this.
Connection
.EndWrite();
107
return this.
Connection
.BeginWrite(messageData.Array, messageData.Offset, messageData.Count,
System\ServiceModel\Channels\SessionConnectionReader.cs (17)
429
size =
Connection
.Read(connectionBuffer, 0, connectionBuffer.Length, timeoutHelper.RemainingTime());
445
Connection
.Write(ServerSessionEncoder.UpgradeResponseBytes, 0, ServerSessionEncoder.UpgradeResponseBytes.Length, true, timeoutHelper.RemainingTime());
447
IConnection connectionToUpgrade = this.
Connection
;
462
this.connectionBuffer =
Connection
.AsyncReadBuffer;
480
Connection
.Write(ServerSessionEncoder.AckResponseBytes, 0,
496
Connection
.Abort();
510
this.connectionBuffer =
Connection
.AsyncReadBuffer;
560
InitialServerConnectionReader.SendFault(
Connection
, faultString,
707
this.channel.
Connection
.Abort();
721
if (channel.
Connection
.BeginRead(0, channel.connectionBuffer.Length, timeoutHelper.RemainingTime(),
744
AsyncCompletionResult writeResult = channel.
Connection
.BeginWrite(
769
channel.
Connection
.BeginWrite(ServerSessionEncoder.AckResponseBytes, 0,
790
channel.size = channel.
Connection
.EndRead();
799
channel.
Connection
.EndWrite();
801
IConnection connectionToUpgrade = channel.
Connection
;
845
channel.
Connection
.EndWrite();
991
: base(channel.
Connection
, channel.rawConnection, channel.offset, channel.size, channel.RemoteSecurity)