Share via


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)

Syntax

'Declaration
Public Property ReceiveTimeout As TimeSpan
    Get
    Set
'Usage
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

Reference

SPWcfServiceSettings class

SPWcfServiceSettings members

Microsoft.SharePoint.Administration namespace