This document is archived and information here might be outdated.  Recommended version.


IServerObjectConfiguration.WaitTimeout Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Server > ESRI.ArcGIS.Server > Interfaces > IS > IServerObjectConfiguration Interface > IServerObjectConfiguration.WaitTimeout Property
ArcGIS Developer Help

IServerObjectConfiguration.WaitTimeout Property

Maximum time (in seconds) a client will wait for an instance of a server object for this server object configuration using the CreateServerContext method on IServerObjectManager before timing out.

[Visual Basic .NET]
Public Property WaitTimeout As Integer
[C#]
public int WaitTimeout {get; set;}
[C++]
HRESULT get_WaitTimeout(
  System.Int32* pVal
);
[C++]
HRESULT put_WaitTimeout(
  long pVal
);
[C++]
Parameters
pVal [out, retval]

pVal is a parameter of type long* pVal [in]
pVal is a parameter of type long

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

The amout of time it takes between a client requesting a server object (using the CreateServerContext method on IServerObjectManager) and getting a server object is called the wait time. A server object can be configured to have a maximum wait time by specifying the WaiteTimeout property on IServerObjectConfiguration. If a client�s wait time exceeds the maximum wait time for a server object, then their request will timeout.

The WaiteTimeout property is in seconds.

 

See Also

IServerObjectConfiguration Interface