Solved

C# Async call

Posted on 2010-11-18
3
442 Views
Last Modified: 2012-05-10
Can somebody tell me what the following code is doing?
public IAsyncMethod<RetentionProductSet> LoadAllProductsAsyncMethod(
            BulkAccountRequestDTO request,
            RetentionProductSet ops)
        {
            var currMethod = System.Reflection.MethodBase.GetCurrentMethod();
            var logger = Juniper.Utility.Logger.GetInstance(currMethod);
            logger.Debug("Entering....");
            IOfferProductService OfferSvc = (IOfferProductService)ServicesFactory.getService(ServicesFactory.SERVICE.OFFER_PRODUCT);
            bulkAccountRequestVO RulevO = ConvertBulkAccountRequestVO(request);
            IAsyncMethod<retentionResponseVO> am = OfferSvc.GetOfferProductsAsynchMethod(RulevO);
            logger.Debug("Exiting...");
            return new CascadeAsyncMethod<retentionResponseVO, RetentionProductSet>(am)
                        .BeforeCompleted(o => ProcessRetentionResponseVO(o, ops, string.Empty, false, null, null));
        }

Open in new window

0
Comment
Question by:vivekj2004
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 

Author Comment

by:vivekj2004
ID: 34166748
CascadeAsyncMethod creates an asynchronous method that calls another asynchronous method. That's a custom method
0
 
LVL 96

Accepted Solution

by:
Bob Learned earned 500 total points
ID: 34173294
What do you need to know?  What is the context for that code (i.e. application type)?
0
 

Author Closing Comment

by:vivekj2004
ID: 34180427
i found out the solution. thanks for comment
0

Featured Post

Want Experts Exchange at your fingertips?

With Experts Exchange’s latest app release, you can now experience our most recent features, updates, and the same community interface while on-the-go. Download our latest app release at the Android or Apple stores today!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question