SPWebProxyConfig.ResponseTimeout property
Gets or sets the number of seconds to wait for an external service to respond. The default value is 30.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Property ResponseTimeout As Integer
Get
Set
'Usage
Dim instance As SPWebProxyConfig
Dim value As Integer
value = instance.ResponseTimeout
instance.ResponseTimeout = value
public int ResponseTimeout { get; set; }
Property value
Type: System.Int32
The number of seconds to wait.
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | This exception is thrown if the value that is being set is not positive. |