FileWebRequest.EndGetResponse Method (IAsyncResult)

 

Ends an asynchronous request for a file system resource.

Namespace:   System.Net
Assembly:  System (in System.dll)

override EndGetResponse : 
        asyncResult:IAsyncResult -> WebResponse

Parameters

asyncResult
Type: System.IAsyncResult

An IAsyncResult that references the pending request for a response.

Return Value

Type: System.Net.WebResponse

A WebResponse that contains the response from the file system resource.

Exception Condition
ArgumentNullException

asyncResult is null.

The EndGetResponse method completes an asynchronous request for a file system resource that was started with the BeginGetResponse method.

The following code example uses the EndGetResponse method to end an asynchronous request for a file system resource.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: