System.Net.FileWebRequest.Timeout Property

Gets or sets the length of time until the request times out.

Syntax

public override int Timeout { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

A Domain Name System (DNS) query may take up to 15 seconds to return or time out. If your request contains a host name that requires resolution and you set FileWebRequest.Timeout to a value less than 15 seconds, it may take 15 seconds or more before a System.Net.WebException is thrown to indicate a time-out on your request.

Requirements

Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0