WebRequestHelperGetResponse Method |
A wrapper around GetResponse that automatically retries when the request fails because of
common transitory errors.
Namespace: VirtualRadar.InterfaceAssembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static WebResponse GetResponse(
WebRequest request,
bool suppressRepeat = false
)
Public Shared Function GetResponse (
request As WebRequest,
Optional suppressRepeat As Boolean = false
) As WebResponse
public:
static WebResponse^ GetResponse(
WebRequest^ request,
bool suppressRepeat = false
)
static member GetResponse :
request : WebRequest *
?suppressRepeat : bool
(* Defaults:
let _suppressRepeat = defaultArg suppressRepeat false
*)
-> WebResponse
Parameters
- request
- Type: System.NetWebRequest
- suppressRepeat (Optional)
- Type: SystemBoolean
Return Value
Type:
WebResponseSee Also