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

  • SEARCH
  • Home
  • 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 8425817
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T04:22:40+00:00 2026-06-10T04:22:40+00:00

As stated in the first section of this article (.chm file – see note

  • 0

As stated in the first section of this article (.chm file – see note below)

One-way calls do not equate to asynchronous calls. When one-way calls
reach the service, they may not be dispatched all at once and may be
queued up on the service side to be dispatched one at a time… If the
number of queued messages has exceeded the queue’s capacity, then the
client will block, even when issuing a one-way call.

If a one-way call is invoked, when does it return control to the caller? The introduction of the same article states that one-way calls are used for fire-and-forget operations, thereby simulating a kind of asynchronous call.
If a sessionful WCF service has a Login() one-way method which starts the session, when does this method return control to the caller? Does it return before the method is actually executed on the service? If so, how can I be sure that the method was performed on service?

If I wanted the service to return to the client the possible errors that occur during the login procedure, would be an asynchronous call the only way to achieve a fire-and-forget behaviour?


Note: The quote above is taken from an article called WCF Essentials – What You Need To Know About One-Way Calls, Callbacks, And Events by Juval Lowy, and can be found in the October 2006 issue of MSDN magazine. The link above is to a help file (.chm) format on MSDN. If you can’t get the linked CHM file to work (I couldn’t) you can open it with 7zip.

  • 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-06-10T04:22:41+00:00Added an answer on June 10, 2026 at 4:22 am

    If a sessionful WCF service has a Login one-way method which starts
    the session, when does this method return control to the caller?

    For OneWay calls: The caller will continue to execute as soon as the service call is dispatched or queued. Basically as soon as the service successfully receives the call.

    how can I be sure that the method was performed on service?

    If the client does not get an exception, the service call was (or will be) performed. When the service call actual runs or whether it succeeded or threw an exception is unknown to the client.

    If I wanted the service to return to the client the possible errors
    that occur during the login procedure, would be an asynchronous call
    the only way to achieve a fire-and-forget behaviour?

    This does not make sense. Fire-and-forget by definition means forget the result. It does not return any values or errors to the client. However an asynchronous call is not fire-and-forget and would return errors.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

First of all, I am sorry that this is not a 'question that can
As Maurico and codeka first stated, don't use the default InProc sessions if you
I just started down the Assembly road, and one of the first Hello, World!
The C# spec, section 10.1.1.1 , states: An abstract class is permitted (but not
All, I've just started using Python (v 2.7.1) and one of my first programs
I'm not quite understanding this fragment lifecycle business. I have a pretty standard 3
[updated] The 1st jQuery section below dynamically creates an a.open-popup element. But after I
Update I have posted my solution to this problem as an answer below. It
Using Ember 0.9.7.1 Getting this error in IE8 and below when my app starts
This is the first time that I have attempted to add some localization into

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.