12 references to SocketCachePolicy
System.Runtime.Remoting (12)
channels\core\socketcache.cs (7)
210private SocketCachePolicy _socketCachePolicy; 213internal CachedSocketList(TimeSpan socketLifetime, SocketCachePolicy socketCachePolicy) 257if (_socketCachePolicy != SocketCachePolicy.AbsoluteTimeout || 291if ((_socketCachePolicy == SocketCachePolicy.AbsoluteTimeout && // This is for absolute 342private SocketCachePolicy _socketCachePolicy; 352internal SocketCache(SocketHandlerFactory handlerFactory, SocketCachePolicy socketCachePolicy, 362internal SocketCachePolicy CachePolicy { get { return _socketCachePolicy; } set { _socketCachePolicy = value;}}
channels\tcp\tcpclientchannel.cs (5)
342private SocketCachePolicy _socketCachePolicy = SocketCachePolicy.Default; // default is v1.0 behaviour 610case SocketCachePolicyKey: _socketCachePolicy = (SocketCachePolicy)(value is SocketCachePolicy ? value : 611Enum.Parse(typeof(SocketCachePolicy),