SocketCachePolicy Enumeration

Specifies the policy for removing clients from the cache maintained by remoting clients.

Namespace: System.Runtime.Remoting.Channels
Assembly: System.Runtime.Remoting (in system.runtime.remoting.dll)

public enum SocketCachePolicy
public enum SocketCachePolicy
public enum SocketCachePolicy

 Member nameDescription
AbsoluteTimeoutRemove a socket from the cache a fixed time after its creation. 
DefaultRemove a socket from the cache a fixed time after its last use. 

This enumeration is used when setting the socketCachePolicy configuration property of a TcpClientChannel object. It determines whether the time specified by the socketCacheTimeout configuration property is measured from the time a socket was last used or from the time a socket was created.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: