6 references to GetConnection
System (6)
net\System\Net\FtpWebRequest.cs (1)
1150
FtpControlStream connection = (FtpControlStream) m_ConnectionPool.
GetConnection
((object)this, (m_Async ? m_AsyncCallback : null), (m_Async ? -1: RemainingTimeout));
net\System\Net\mail\smtpconnection.cs (5)
326
PooledStream pooledStream = connectionPool.
GetConnection
((object)this, null, Timeout);
333
pooledStream = connectionPool.
GetConnection
((object)this, null, Timeout);
617
pooledStream = (SmtpPooledStream)ConnectAndHandshakeAsyncResult.connection.connectionPool.
GetConnection
((object)ConnectAndHandshakeAsyncResult, ConnectAndHandshakeAsyncResult.m_ConnectionCreatedCallback, ConnectAndHandshakeAsyncResult.connection.Timeout);
669
SmtpPooledStream pooledStream = (SmtpPooledStream)connection.connectionPool.
GetConnection
((object)this, (synchronous ? null : m_ConnectionCreatedCallback), connection.Timeout);
678
pooledStream = (SmtpPooledStream)connection.connectionPool.
GetConnection
((object)this, (synchronous ? null : m_ConnectionCreatedCallback), connection.Timeout);