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 968243
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T02:26:50+00:00 2026-05-16T02:26:50+00:00

I know all about threading applications, but haven’t done this over web services before.

  • 0

I know all about threading applications, but haven’t done this over web services before. Rather than have the client manage various threads, I want to just fire an async method and get the result from a callback.

It looks straight forward enough – just call the async method in the proxy class generated by visual studio. BUT WAIT… there isn’t anywhere for me to specify a call back.

MSDN and other sites tell me I should be using Begin[MethodName] and End[MethodName], but they don’t appear to exist/been-generated, I do have the [MethodName]Async method which is good (see here), but it doesn’t have an option to pass in a delegate/callback.

I also have (staticly) ServiceName.MethodNameEventHandler/Args available, but can’t use it as it isn’t part of the instantiated service.

What is going on? and how can I send/receive a call back from a web service. I have noticed all the googling I’ve done provides me with pretty old sites. Can anyone provide me with an example.

  • 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-16T02:26:51+00:00Added an answer on May 16, 2026 at 2:26 am

    If you have [MethodName]Async methods, you should have [MethodName]Completed events, which you can subscribe to, and that will act as your callback.

    In vb.net it should be something like this:

    AddHandler yourWebProxyClassInstance.[MethodName]Completed, AddressOf YourMethod
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Sorry, but I know nothing at all about fonts, so I hope that this
All I know about the constraint is it's name ( SYS_C003415 ), but I
First of all, I know about the command line parameter, but I don't want
We all know about log, ok, but why should we consider the «Logger» class
I wish to know all the pros and cons about using these two methods.
What are all the common undefined behaviours that a C++ programmer should know about?
Are there any open-source libraries that all programmers should know about? I'm thinking something
We all know how to use <ctrl>-R to reverse search through history, but did
This question may seem trivial, but I hope you won't ignore it. Before destroying
We all know about techniques to prevent db deadlocks - acquire locks in the

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.