1 write to channel
System.ServiceModel (1)
System\ServiceModel\Channels\SessionConnectionReader.cs (1)
675this.channel = channel;
33 references to channel
System.ServiceModel (33)
System\ServiceModel\Channels\SessionConnectionReader.cs (33)
707this.channel.Connection.Abort(); 714if (channel.size == 0) 721if (channel.Connection.BeginRead(0, channel.connectionBuffer.Length, timeoutHelper.RemainingTime(), 732channel.DecodeBytes(); 733switch (channel.decoder.CurrentState) 736channel.ProcessUpgradeRequest(ref this.timeoutHelper); 744AsyncCompletionResult writeResult = channel.Connection.BeginWrite( 760channel.SetupSecurityIfNecessary(); 769channel.Connection.BeginWrite(ServerSessionEncoder.AckResponseBytes, 0, 781if (channel.size == 0) 789channel.offset = 0; 790channel.size = channel.Connection.EndRead(); 791if (channel.size == 0) 793throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(channel.decoder.CreatePrematureEOFException()); 799channel.Connection.EndWrite(); 801IConnection connectionToUpgrade = channel.Connection; 802if (channel.size > 0) 804connectionToUpgrade = new PreReadConnection(connectionToUpgrade, channel.connectionBuffer, channel.offset, channel.size); 815connectionToUpgrade, channel.upgradeAcceptor, channel, onUpgradeConnection, this); 832this.channel.WriteAuditFailure(channel.upgradeAcceptor as StreamSecurityUpgradeAcceptor, exception); 839channel.AcceptUpgradedConnection(InitialServerConnectionReader.EndUpgradeConnection(result)); 845channel.Connection.EndWrite(); 846channel.SetupSessionReader(); 904thisPtr.channel.WriteAuditFailure(thisPtr.channel.upgradeAcceptor as StreamSecurityUpgradeAcceptor, e); 944thisPtr.channel.WriteAuditFailure(thisPtr.channel.upgradeAcceptor as StreamSecurityUpgradeAcceptor, e);