ArcObjects Library Reference (Server)  

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(
  long* 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 clients 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