index > Windows Workflow Foundation > break WhileActivity

break WhileActivity

Hello, everybody.

Is it possible to break (close) WhileActivity from one of its child?

TIA

Anon.

There is no built in way for this but you can throw an exception from within the while and catch it in a fault handler added to the while, like the following:

Tom Lake
reply 2

You can use google to search for other answers

 

More Articles

• About custom container activity's shown behavior
• TrackingRecord not serializable
• Workflow-Instance-Id within CallExternalMethodActivity?
• How to access the fields of the enclosing activity?
• Custom EventListener Activity no longer works in RC2 or RC4
• WF Designer Host Example
• how to disable expand/collapse?
• Unable to use the ifElse Activity in an embeded designer.
• Multiple event driven activities in the single state
• About the workflow desiger Rehosting?
Bookmark and Share
Welcome to Bokebb   New Update  
 

New Articles

• Context in workflow?
• Webservice timing out when raising event
• State Machnine workflows and Correlation
• DragDrop from custom Toolbox class into
• Problem exposing webservice after renami
• Debuggin Designer classes
• IndexOutOfRangeException when creating n
• Get Information from Tracking Database
• How to map Xml Node Elements before send
• SQLTracking service issue in Workflow
• Why I can not combind the SqlTracking &a
• the problem arised after install Beta2_2
• Request: Visual Designer walkthrough web
• How to use ASPNet XAML Activation sample
• accessing child activity parameters on P

Hot Articles

• SqlTrackingService Beta 2 Lab 03 exercis
• I can't use the WWF help
• Some error when I rebuilt ExpenseReporti
• Windows workflow in ASP.Net
• What OS support will be needed to deploy
• Problem with Windows Workflow Foundation
• System.Workflow.ComponentModel.Compiler
• [URGENT]Problem in EVENTHANDLING using D
• simple question
• Package Load Failure
• Are the WF project systems flavors of C#
• Windows workflow foundation and FileNet
• SqlWorkflowPersistenceService - how does
• expand/collapse
• DependencyProperty design time support

Recommend Articles

• xoml or xaml?
• Start Workflow for the first time ....
• Get the value of a Workflow public prope
• Understanding the Windows Workflow Found
• BUG: Why does the name of a StateMachine
• Chainig Workflows Synchronously: InvokeW
• Workflow Compilation Process
• Web service output only happens when ins
• Could I use WWF in such scenario?
• raising and listenig to events within a
• New Screencast: Introduction to State Ma
• errors encountered while loading the des
• WF implications for MSF, LINQ, OOD, Soft
• How can I access the xml document which
• Workflow Designer on ASP.NET app