index > Windows Workflow Foundation > Using HandleExternalEventActivity, but Event does not exist durin...

Using HandleExternalEventActivity, but Event does not exist durin...

Hi,

I would like to ask if there exists any possibility for adding events during runtime, because I am also adding new workflows during runtime, which communicate with each other with use of HandleExternalEventActivity and CallExternalMethod, but as already mentioned event does not exist.

My question is how to set EventName if event does not exist in interface yet.

[ExternalDataExchange]

public interface ICommunicationService

{

event EventHandler<ExternalDataEventArgs> NoRiskEvent;

// HERE I WANT TO ADD EVENTS DURING RUNTIME

}

Is it possible???

Thank you,

Peter

peter673341
Peter - what I would suggest you want to look at is not using ExternalDataExchange for host to workflow communication and look at using Queues (which is what ExternalDataExchange is built on top of it).


http://www.quicklearn.com/workflow.htm
Jon Flanders
reply 2

You can use google to search for other answers

 

More Articles

• SQlDatabase Activity from this site (URGENT)
• Deserialization in while loop
• FileWatchService and State Machine Workflows
• Designer re-hosting related
• Cannot create more than one WorkflowRuntime per AppDomain
• DependencyProperties backed by another properties?
• Workflow won´t start...
• StateMachineWorkflowInstance ASP.NET error
• How to Cancel current waiting activity
• Can Beta2 be insatlled and used without Vista?
Bookmark and Share
Welcome to Bokebb   New Update  
 

New Articles

• Hosting designer on an asp.net application
• Visual Studio Crashes on Lab01
• Cannot create more than one WorkflowRunt
• What new in Beta 2? - anyone?
• Multiple clients interacting with a work
• Sub-workflows
• Creating ActivityExecutionContext
• NameValueCollection in custom activity
• WorkFlow Monitor
• Beta 2 Activities in Activity Gallery
• Binding in XOML only workflows?
• Using InvokeWorkFlow Activity
• expand Toolbox-Activities
• Workflow Compilation Process
• CorrelationParameter data types

Hot Articles

• Modifying a report created in report bui
• In sequential work flow , code condition
• XPathBind
• Final state for the satatMachine workflow
• Beta 1 Hands-On Lab
• EventDeliveryFailedExceptions in WWF
• Multiple requests clogs w3wp.exe
• Replicator and correlation
• Difference between Beta2 and Beta2.2
• CallExternalMethodActivity passing wrong
• New Screencast: Introduction to State Ma
• RemoveAlternateStreams
• Custom activity validation -- HandleEx
• Stateless Hosts
• Need Help! Prob in Passing ArrayList to

Recommend Articles

• Help!! Custome Activity at StateMachineW
• custom EventDrivenActivity? custom Repli
• Workflow instance does not exists
• Defining Bitmap of custom activity
• DependencyProperty throws error
• WWF for the absolute beginner?
• State machine usage
• How can I get Workflow Status from Track
• event in a workflow
• WWF Vs Biztalk
• how to read an invalid Xmldocument in bi
• Newbie question - Methods not available
• Dynamic update within running Transactio
• Workflow Architecture Question
• why the workflowMonitor can only track t