Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6212423
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T06:30:46+00:00 2026-05-24T06:30:46+00:00

When i call a async function from third party library then i found that

  • 0

When i call a async function from third party library then i found that the function need to pass the callback.

the function is

Library.getResult(object options, Action<library.libresult<dataCollection>>  callback

can someone tell me how i can pass callback to this function in silverlight.

thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T06:30:47+00:00Added an answer on May 24, 2026 at 6:30 am

    You use a delegate for method that accepts the result. You can for example use a lambda expression to create that:

    Library.getResult(options, result => {
      // code here runs when the result arrives
    });
    

    You can also declare a named method:

    private void HandleResult(library.libresult<dataCollection> result) {
      //...
    }
    

    Then just use its name in the call, which will automatically create a delegate for it:

    Library.getResult(options, HandleResult);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to pass the response from ajax call to a jquery template.The response
I'm using the third party jsonp library for jquery. In the call to it,
Imagine that I will make an async call in .NET, i.e. HttpWebRequest.BeginGetResponse, and the
I call a javascript function from a textbox by using OnKeyPress=clickSearchButton() Here is my
I am not able to call web service(asmx) from jQuery function. It is saying
I am testing on the std::async function with the code from http://www.justsoftwaresolutions.co.uk/threading/multithreading-in-c++0x-part-8-futures-and-promises.html int calculate_the_answer_to_LtUaE(){
I have an async call that, when it completes, I want to set a
On my MVVM Silverlight application I need to call Domain service function to get
In C#, how do I make an async call to a WCF Web Service?
I call my JavaScript function. Why do I sometimes get the error 'myFunction is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.