System.Net.FileWebRequest.BeginGetResponse Method

Begins an asynchronous request for a file system resource.

Syntax

public override IAsyncResult BeginGetResponse (AsyncCallback callback, object state)

Parameters

callback
The AsyncCallback delegate.
state
An object that contains state information for this request.

Returns

An IAsyncResult that references the asynchronous request.

Remarks

The asynchronous callback method that implements the AsyncCallback delegate uses the FileWebRequest.EndGetResponse(IAsyncResult) method to return the actual System.Net.FileWebResponse.

Requirements

Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0