Documentation for: ASP.NET Ajax Version 1.0

This documentation is for a previous version. For the current released version, see the ASP.NET Ajax documentation on MSDN.

 

 

 

 

 

 

 

Sys.Net.WebRequest completed Method

Raises the completed event for the associated Sys.Net.WebRequest instance.

Syntax

MyWebRequest.completed(eventArgs);

Arguments

Term

Definition

eventArgs

The value to pass to the Web request completed event handler.

Remarks

You use the completed method to raise the completed event from a custom executor. When the event is raised, a sender parameter is included in the call to the registered handlers. You can use this parameter to access the executor that issued the request and to check its completed status and retrieve the response data.

note

The eventArgs parameter is ordinarily set to Sys.EventArgs.empty by the executor. However, custom executors can return data in this parameter.