index > Windows Workflow Foundation > Setting DesignMode to True

Setting DesignMode to True

Hi. Is there a way to set the DesignMode property returned on WorkflowInstance.GetWorkflowDefinition to "true"?

I'm trying to load that activity on a designer, but it doesn't let me do it because of that property...

What I'm trying to achieve is to use the WorkflowMonitor from the my CustomPersistenceService, and not from the TrackingService.

Thanks in advance.

Matt_

Does anybody knows how that property is set?

I couldn't find any info about it on the web either...

Matt_
The DesignMode property is read only and can not be set by you. It is set when Activity.Load is called.


MS Workflow SDE/T - This posting is provided "AS IS" with no warranties, and confers no rights.
Tom Lake
reply 3

You can use google to search for other answers

 

More Articles

• ExpenseReport Example Problem
• DelayActivity - how long left?
• Replication and correlation
• WF custom persistence once again
• Cleaner designer-generated code
• Custom ExternalEvent activity
• Designer re-hosting related
• WorkflowsInstance.Abort Confusing me.. please help
• Petri net implementation using State machine Workflow
• Feature Request: Display activity description in designer
Bookmark and Share
Welcome to Bokebb   New Update  
 

New Articles

• Re: workflow and web apps
• Asp.Net and workflow
• moving a SharePoint document in a workflow
• TypeProvider.RemoveAssembly
• activity dependency
• Rule Revaluation
• sequential WorkFlow
• Workflow Runtime (Beta 2) appears to los
• Load WorkflowInstance from Persistence D
• how to change the text shown when draggi
• Rule Engine enough flexible?
• add child activities to a Replicator Act
• Empty 'CompletedScope' Table in Persiste
• XPDL
• How do WWF-enabled processes synchronize

Hot Articles

• idle state
• Persisted Workflow Instance - Check Curr
• Validation Fails on Build
• WWF, a good fit for Kiosk application?
• workflow on web application
• workflow versionning
• Notifying a Distributed Workflow of Stat
• Workflow compiler problem
• HowTo make a StateMachine Workflow wait
• Code samples for Workflow Designer hoste
• Hosting the WorkflowDesignerControl in A
• sqlPersistence
• State machine WF Quandary
• detecting workflow runtime running in an
• WWF and sql server requirement

Recommend Articles

• "bindingRedirect" does not wor
• Developing a Distributed Workflow
• DTC Problem in Transaction Scope
• Persistenced Workflow Instances
• Is there any Comprehensive guide for Win
• Activity Position in Workflow
• SqlWorkflowPersistenceService - how does
• Tips in debugging dependency property pr
• Still issues using generic List as prope
• Xoml customization and compilation
• Questions for Persistence and Tracking o
• Visual Studio 2005 Crashes upon Compilat
• Uninstalling WWF
• Newbie Has A Dumb Question About Cancell
• Exception on raising an event