24 references to Connection
System (24)
net\System\Net\_Connection.cs (5)
3751conn.NetworkStream = new NetworkStream(connectStream.Connection.NetworkStream, true); 3753connectStream.Connection.NetworkStream.ConvertToNotSocketOwner(); 3756originalReq.TunnelConnection = connectStream.Connection; 3829NetworkStream = new NetworkStream(connectStream.Connection.NetworkStream, true); 3831connectStream.Connection.NetworkStream.ConvertToNotSocketOwner();
net\System\Net\HttpWebRequest.cs (4)
1119if(stream.Connection != null && stream.Connection.IISVersion >= 6){ 1734if (submitStream != null && submitStream.Connection == connection) { 6110_SubmitWriteStream.ErrorResponseNotify(_SubmitWriteStream.Connection.KeepAlive);
net\System\Net\HttpWebResponse.cs (3)
417GlobalLog.Assert(connectStream.Connection != null, "HttpWebResponse.m_ConnectStream.Connection should never be null in WebSocket cases."); 462if (connectStream != null && connectStream.Connection != null) 464connectStream.Connection.ServicePoint.CloseConnectionGroup(ConnectionGroupName);
net\System\Net\WebSockets\WebSocketConnectionStream.cs (12)
33: base(new WebSocketConnection(connectStream.Connection), false) 37Contract.Assert(connectStream.Connection != null, 39Contract.Assert(connectStream.Connection.NetworkStream != null, 48m_IsFastPathAllowed = m_ConnectStream.Connection.NetworkStream.GetType() == s_NetworkStreamType; 52Logging.Associate(Logging.WebSockets, this, m_ConnectStream.Connection); 116WebSocketHelpers.ThrowIfConnectionAborted(m_ConnectStream.Connection, true); 183Contract.Assert(this.m_ConnectStream.Connection.ServicePoint != null, "connection.ServicePoint should not be null."); 184this.m_ConnectStream.Connection.ServicePoint.CloseConnectionGroup(this.m_ConnectionGroupName); 215WebSocketHelpers.ThrowIfConnectionAborted(m_ConnectStream.Connection, true); 261WebSocketHelpers.ThrowIfConnectionAborted(m_ConnectStream.Connection, false); 330WebSocketHelpers.ThrowIfConnectionAborted(m_ConnectStream.Connection, false); 388thisPtr.m_ConnectStream.Connection.NetworkStream.InternalAbortSocket();