SPWcfServiceSettings.ReceiveTimeout Property

Gets or sets the receive timeout that is applied to the WCF service.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No


Public Property ReceiveTimeout As TimeSpan
Dim instance As SPWcfServiceSettings
Dim value As TimeSpan

value = instance.ReceiveTimeout

instance.ReceiveTimeout = value
public TimeSpan ReceiveTimeout { get; set; }

Property Value

Type: System.TimeSpan
The receive timeout. This property is applied only when it is not set to MinValue; otherwise, the default WCF settings are used.

See Also


SPWcfServiceSettings Class

SPWcfServiceSettings Members

Microsoft.SharePoint.Administration Namespace