This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Server > ESRI.ArcGIS.Server > Interfaces > IS > IServerObjectConfiguration Interface > IServerObjectConfiguration.WaitTimeout Property (ArcObjects .NET 10.4 SDK) |
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
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.