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