rgunawan
rgunawan

Reputation: 314

What's the difference between System.Workflow.ComponentModel.activity and System.activities.activity

There seem to be 2 classes that relates to workflow Activities in .NET 4: System.Workflow.ComponentModel.Activity and System.activities.Activity

What's the difference between the two?

Upvotes: 2

Views: 1415

Answers (1)

user1228
user1228

Reputation:

The first one ("System.Activities...") is from Workflow Foundation 3.0 and the second one ("System.Workflow...") is for Workflow Foundation 4.0.

There was a substantial rewrite (for the better imho) between the two. 3.0 workflow activities can be used in 4.0 via migration or via interop.

Upvotes: 3

Related Questions