Set the maximum lifetime of socket connections to the engine.


Namespace: NetricsServerInterface
Assembly: NetricsServerInterface (in NetricsServerInterface.dll)

Syntax

Visual Basic (Declaration)
Public Sub setMaxSocketLifetime( _ 
   ByVal val As Nullable(Of TimeSpan) _ 
) _
    Implements INetricsServerInterface.setMaxSocketLifetime
C#
public void setMaxSocketLifetime(
   Nullable<TimeSpan> val
)
C++
public:
 void setMaxSocketLifetime(
   Nullable<TimeSpan> val
) sealed 
J#
public void setMaxSocketLifetime(
   Nullable<TimeSpan> val
)
JScript
public  function setMaxSocketLifetime(
   val : Nullable<TimeSpan>
)

Implements

INetricsServerInterface.setMaxSocketLifetime

Remarks

Not relevent if connection pooling is turned off. Do not set this value unless you're experiencing platform-specific socket issues.

See Also