In The Hand LtdIn The Hand
GetWebResponse Method (request, result)
NamespacesInTheHand.NetWebClientGetWebResponse(WebRequest, IAsyncResult)
.NET Components for Mobility
Returns the WebResponse for the specified WebRequest using the specified IAsyncResult.
Declaration Syntax
C#Visual Basic
protected virtual WebResponse GetWebResponse(
	WebRequest request,
	IAsyncResult result
)
Protected Overridable Function GetWebResponse ( _
	request As WebRequest, _
	result As IAsyncResult _
) As WebResponse
Parameters
request (WebRequest)
A WebRequest that is used to obtain the response.
result (IAsyncResult)
An IAsyncResult object obtained from a previous call to BeginGetResponse(AsyncCallback, Object).
Return Value
A WebResponse containing the response for the specified WebRequest.
Examples
The following code example shows an implementation of this method that can be customized by a class derived from WebClient.
CopyC#
protected override WebResponse GetWebResponse (WebRequest request, IAsyncResult result)
{
    WebResponse response = base.GetWebResponse (request, result);
    // Perform any custom actions with the response ...
    return response;
}

Assembly: InTheHand.Net (Module: InTheHand.Net) Version: 7.0.0.0