Declaration Syntax
Public Overridable Function GetResponseCode( _
ByVal exception As WebException _
) As Integer
public virtual int GetResponseCode(
WebException exception
);
public: virtual int GetResponseCode(
WebException exception
);
public function GetResponseCode(
exception : WebException
) : int;
Parameters
- exception
- The System.Exception thrown when the request failed.
Return Value
A number representing the http response code for the failure.Example
If the request failed because the requested Uri could not be found, this function will return404
Requirements
Namespace: Eas.WebCrawler.Model.GatewayAssembly: Eas.WebCrawler.Model.Gateway (eas.webcrawler.model.gateway.dll)