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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T19:29:59+00:00 2026-05-25T19:29:59+00:00

Host : has a function which is : IsOneWay=False this function when called –

  • 0

Host : has a function which is : IsOneWay=False

this function when called – pops a MessageBox in the HOST.

Client : has a winform that has only button that calls the Host’s func.

if the function in the host IsOneWay=true – i can multi press the client button ( he doesnt care if i released the messagebox on the Host or not).

but if the IsOneWay=False – then he let me press just once ( until i release the MesageBox on the Host)..

host does he do that ?

How the Client knows that he should be blocked until the user releases the MessageBox on the Host side ?
  • 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-25T19:30:00+00:00Added an answer on May 25, 2026 at 7:30 pm

    The WCF host isn’t responding to the client until the message box is dismissed.

    If you were to break into the debugger on the client side you should see that your code is still within the WCF call to the host. If you waited long enough it would eventually time out. WCF can do this because IsOneWay=false requires the server to return before the client can continue executing. When IsOneWay=true the client sends the request and the server responds right away with success allowing the client to continue (before any server code is executed).

    IsOneWay=false
       Client       Server
       ------    |  ------
    1. click    --> method --> messagebox waits for OK
    (client can't continue until server returns)
    2. continue <-- method <-- user dismisses messagebox
    
    IsOneWay=true
       Client     Server
       ------  |  ------
    1. click  -->  method --> messagebox waits for OK
    (client continues regardless of server state)
    2. click  -->  method --> 2nd messagebox waits for OK
                              user dismisses messageboxes
    etc...
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The gSoap API function soap_bind has an argument called host . The documentation is
PHP's parse_url() has a host field, which includes the full host. I'm looking for
I've been trying to find a host that has output_buffering enabled and my host
We host a C++ based WebServices application in IIS and we're finding that when
I need to host a WCF service in IIS that exposes a wsHttpBinding. That
I'm trying to host a PHP web site that was given to me. I
I wanted to create a function which would return the path of the current
We have a windows service in C++/ MFC which has to carry out a
I have a table which is full of arbitrarily formatted phone numbers, like this
I've got some HTML which has some dynamically generated forms which are submitted via

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.