Sys.Net.WebRequest remove_completed Method

Removes the event handler added by the add_completed method.

MyWebRequest.remove_completed();

Remarks

The executor associated with the request is responsible for raising the event by calling the completed method. The event handler is called when the associated executor finishes its work. An executor finishes its work in one of three states: completed, aborted, or timed out.

Example

The following example shows how to add and remove the completed event handler. This code is part of a complete example found in the WebRequest class overview.

See Also

Reference

Sys.Net.WebRequestManager Class

Sys.Net.WebRequestExecutor Class

Sys.Net.XMLHttpExecutor Class