从winforms调用控制线程控制 [英] Controlling thread control from a winforms call

查看:83
本文介绍了从winforms调用控制线程控制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在webservice中创建的线程是否有可能继续执行在父Web服务将控件返回给调用客户端之后???

Is it possible for a thread created in a webservice to continue execution even after the parent web service returns the control back to the calling client???

同样可能是相同的甚至在关闭winform子屏幕后,在Windows窗体(MDI Child)中?

Similarly is the same is possible in a Windows Form (MDI Child) even after closing the winform child screen ?

推荐答案

我相信您可以使用Windows Workflow执行此操作。作为更大工作流程的一部分,工作流可以具有发送和接收消息的发送和接收活动。即使在发送消息后,工作流程的执行流程也会继续。

I believe that you can do this with Windows Workflow.  A workflow can have send and receive activities for sending and receiving messages as part of a larger workflow.  Execution flow for the workflow continues even after a message is sent.

Daniel Roth

Daniel Roth


这篇关于从winforms调用控制线程控制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆