-----------------------------------------------------------
New Message on MumbaiUserGroup
-----------------------------------------------------------
From: Rahul4ever1
Message 4 in Discussion
New Message on MumbaiUserGroup
Question Of The Day !!!! -- (23-06-2005)
Reply
Reply to Sender
Recommend
Message 2 in Discussion
From:
Rahul4ever1
An asynchronous call starts the call to the Web service on a
separate thread, allowing program execution to continue while the Web service
processes the request. For every method found on a Web service, there are two
additional methods for use asynchronously. The names of these methods are the
name of the Web method prefixed with Begin and End. Thus, if a Web service
exposes a method named MyMethod, the asynchronous methods for MyMethod are
BeginMyMethod and EndMyMethod.
You begin an asynchronous method call with the Begin method. In addition to
requiring the same parameters as a synchronous method call, a Begin method call
requires an AsyncCallback delegate that specifies the method for the Web method
to call back on and an object that allows applications to specify custom state
information.
Every Begin method has a return type of IAsyncResult. This interface is used by
the corresponding End method to retrieve the data returned by the asynchronous
call. The callback method specified by the AsyncCallback delegate must have a
signature that takes an IAsyncResult as a parameter. In the callback method,
you can call the End method to retrieve the data.
Thanks,
Dhrumit.
View other groups in this category.
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/mumbaiusergroup/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member
Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you
received this message by mistake, please click the "Remove" link below. On the
pre-addressed e-mail message that opens, simply click "Send". Your e-mail
address will be deleted from this group's mailing list.
mailto:[EMAIL PROTECTED]