Windows Workflow Foundation 3


Error in the Hands on lab 09


Its seems to me that there is an error in the HOL 09 ("Modifying Workflow Models at Runtime With Workflow Change") :
snippet "Lab09 Ex02 Task02 ModifyWorkflowFromHost" .
 
In the following static method, replace the string "ifElse1Activity" with "ifElseActivity1" 
Like this...
 static void modifyWorkflowFromHost(WorkflowInstance workflowInstance){...CompositeActivity ifelse = workflowChangesToMake.TransientWorkflow.Activities["ifElseActivity1"] as CompositeActivity;...
}
 
Serge Luca
Guidance, Belgium
blog : www.redwood.be
I just verified this and you're right. Thanks for spotting this. I'll add this to the errata for the labs and we'll get it fixed with the next revision.
Regards,Paul

Related Links

Is there any event get fired when I changed the content in the workflow designer?
Subscription handler threw System.FormatException
How can I designate string[] field as returnValue for ReceiveActivity?
is the "workflows in memory" performance counter failing to be reset?
Creating a workflow dynamically
writing non-persistance data to Oracle from a workflow app
Is Workflow Foundation a good fit for multiple workflow processes
The workflow failed validation
Can SQL compact edition be used for persistence and tracking storage?
Invoking multiple web service using InvokeWebServiceActivity combined with transaction
Workflow, HandleExternalEvent and WCF
XOML Only - How to change an integer in the argument dictionary
WorkflowTheme Exception
Pass in parameters to declarative workflow
WorkflowOutline
Workflow Correlation

Categories

MSDN
Using Forums
Windows and Windows ph...
Game Development
.NET Framework
Smart Device Development
Development
Project Server
Microsoft Atlas API: D...
Exchange Server
Silverlight
Archive
Microsoft Azure
Archived Forums #
Archived Forums E-H
Forums Redesign - Q&A ...
Visual Basic
Visual Studio LightSwi...
Visual Studio Tools fo...
AdSDK Integration & Ad...
Developing Windows Des...
Windows Desktop Web Se...
SharePoint 2010 - Gene...
SharePoint Legacy Vers...
Cloud Services (Web an...
Azure Multi-Factor Aut...
Microsoft Azure Site R...
Azure Stack
Azure Time Series Insi...
Publishing Apps for th...
.NET Framework Class L...
Team Foundation Server...
BizTalk Server Adapter...
Microsoft Solver Found...
Internet Explorer Web ...
Training and Certifica...
SyncFx - General [Read...
SyncFx - Microsoft Syn...
.NET Compact Framework
Windows Mobile Develop...
Data Mining
SQL Server Reporting S...
SQL Server Database En...
SQL Server Setup & Upg...
SQL Server Notificatio...
SQL Server PowerPivot ...
Standard 7: Components...
Windows Live  Spaces: ...
MSDN and TechNet Searc...
Orchard - Help and Sup...
App Linking
WebsitePanel - Discuss...
Known Issues for Windo...
Microsoft Automatic Gr...
Bing Maps REST, SOAP, ...
Microsoft Unified Comm...
Programming Silverligh...
Managed Extensibility ...
Accessing Web Services...
Retired SharePoint Bus...
Retired SharePoint Bus...
Retired SharePoint Col...
.NET Remoting and Runt...
.NET StockTrader Sampl...
Acropolis
Axum Incubation Project
Azure Troubleshooting,...
Azure Startups
App Producer (archived)
Building Windows Store...
AppFabric Caching
Core Coding Experience...
Core Coding Experience...
Chart Controls for .NE...
Game Technologies: Gen...
General Troubleshootin...
Installing and Registe...
Multimap API Developme...
Network Quality of Ser...
Performance Counters f...
Popfly Game Creator
Oracle on Azure
Search Server: Feature...
Silverlight (formerly ...
Silverlight (formerly ...
Small Business Applica...
Share your How to samp...
Software Transactional...
SQL Azure Labs Support
SQL Creation
SQL Server 2014 Data Q...
Team Foundation Server...
Team Foundation Server...
Team Foundation Server...
Team Foundation Server...
Visual Basic Language
Visual C# Express 2008...
Visual C# IDE
Visual Studio LightSwi...
Windows Developer Prev...
Building Windows Store...
Building Windows Store...
Tools for Windows Stor...
Windows Phone push not...
.NET Native Preview
SQL Server 2016 Preview
Skype Web SDK
Microsoft R Open

Resources

Encrypt Message



code
soft
python
ios
c
html
jquery
cloud
mobile