HttpWebRequest Properties

MSBuild Extension Pack

HttpWebRequest Properties MSBuild Extension Pack Help 4.0.12.0

The HttpWebRequest type exposes the following members.

Properties

  Name Description
Public property ContentType
The content type of the request. By default, it is "application/x-www-form-urlencoded" (used for classic HTTP POST) for Post and null for GetResponse.
Public property RequestContent
The content of the request. For classic HTTP POST, format is several [key]=[value] separated by "&". Could be SOAP for example if ContentType is SOAP.
Public property Response
Public property Retries
The number of times the request should be retried before failing.
Public property RetryInterval
The number of milliseconds between retry attempts. Default is 0.
Public property SkipSslCertificateValidation
Set to true to accept all SSL certificates.
Public property Status
Contains the StatusDescription for successful requests. Contains the Status when encountering a WebException.
Public property Timeout
Sets the number of milliseconds to wait before the request times out. The default value is 100,000 milliseconds (100 seconds).
Public property Url
Sets the name of the AppPool. Required.
Public property UseIntegratedAuthentication
The number of milliseconds between retry attempts. Default is 0.
Top
See Also

Reference