Share via


HttpSelfHostConfiguration.ReceiveTimeout Property

Gets or sets the receive timeout.

Namespace:  System.Web.Http.SelfHost
Assembly:  System.Web.Http.SelfHost (in System.Web.Http.SelfHost.dll)

Syntax

'Declaration
Public Property ReceiveTimeout As TimeSpan 
    Get 
    Set
'Usage
Dim instance As HttpSelfHostConfiguration 
Dim value As TimeSpan 

value = instance.ReceiveTimeout

instance.ReceiveTimeout = value
public TimeSpan ReceiveTimeout { get; set; }
public:
property TimeSpan ReceiveTimeout {
    TimeSpan get ();
    void set (TimeSpan value);
}
member ReceiveTimeout : TimeSpan with get, set
function get ReceiveTimeout () : TimeSpan 
function set ReceiveTimeout (value : TimeSpan)

Property Value

Type: System.TimeSpan
The receive timeout.

See Also

Reference

HttpSelfHostConfiguration Class

System.Web.Http.SelfHost Namespace