Click or drag to resize

BaseHttpConnectorTimeout Property

Gets/Sets the HTTP Timeouts used specified in milliseconds.

Namespace:  VDS.RDF.Storage
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public int Timeout { get; set; }

Property Value

Type: Int32
Remarks

Defaults to 30 seconds (i.e. the default value is 30,000).

It is important to understand that this timeout only applies to the HTTP request portions of any operation performed and that the timeout may apply more than once if a POST operation is used since the timeout applies separately to obtaining the request stream to POST the request and obtaining the response stream. Also the timeout does not in any way apply to subsequent work that may be carried out before the operation can return so if you need a hard timeout on an operation you should manage that yourself.

When set to a zero/negative value then the standard .Net timeout of 100 seconds will apply, use MaxValue if you want the maximum possible timeout i.e. if you expect to launch extremely long running operations.

Not supported under Silverlight, Windows Phone and Portable Class Library builds.

See Also