Saturday, February 27, 2010

WF 4.0 Custom Code Activity using CodeActivity<T>

In this blog post we are going to use CodeActivity<T> Generic class to create custom code activity. Instead of defining a workflow OutArgument to get output from workflow  we are going  to change Execute method return type as shown below. [ To Follow this post please Read http://mstecharchitect.blogspot.com/2010/02/wf-40-custom-code-activity-vsnet-2010.html first.]

image

When we get output from workflow we will use  [Result] is the key as shown below.

image

Nandri(Thanks)

SreenivasaRagavan.

No comments: