Requests the hosting application open a stream to the specified resource, convert the stream to a string, and then execute the specified callback, returning the result, status code and userdata.

void ReadFromUrl( 
string url
ReadDelegate callback
object userdata 
)

Parameters

url

Type: string

The resource to read, which is typically an ASP page.

callback

Type: ReadDelegate

The handler that will receive the result.

userdata

Type: object

Provides caller-specified data for the asynchronous task, which can be used to associate the request and result.