To do this, the client of the process invokes the cancellation operation that is implemented using an event handler.
为此,流程的客户机将调用使用事件处理程序实现的取消操作。
If your application has a button to cancel a long-running operation but you're doing work in the UI thread, the cancellation event won't be delivered until after the operation has finished!
如果应用程序有一个按钮用于取消某个长时间运行的操作,而您正在使用UI线程执行操作,那么这个取消事件只有到UI线程所做的操作完成后才会被处理!
An invocation of an operation provided by a process: For example, a claims handling process supports the cancellation of a claim while the process is currently running.
对流程提供的操作的调用:例如,声明处理流程支持在流程当前正在运行时取消声明。
应用推荐