Sys.Net.WebRequest completed Method
Raises the completed event for the associated Sys.Net.WebRequest instance.
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.
See Also
Reference
Sys.Net.WebRequestManager Class