Powered by MSDN

US - English
NEW! Silverlight 5 is available Learn More

  • jakkaj

    jakkaj

    Participant

    966 Points

    152 Posts

    Re: Calling web service if browser window is closed

    Feb 02, 2009 09:44 PM | LINK

     Hi,

    No matter what thread you begin the request on, the network call happens on the UI thread (uses the browsers networking stack and what not, so it makes sense). The wait APM stuff blocks the UI thread. So either you can block UI thread indefinitely or you have to let the exit method exit and that causes the browser to exit anyway.

    Cheers,

     Jordan.

    http://blog.webjak.net
    http://www.sddn.org.au
    Microsoft MVP - Silverlight