views:

26

answers:

0

Generally we derive custom activity from Activity or CompositeActivity class, i want to have my custom base class for all activities :

like

public class BusinessActivity : Activity
 {

 }

then my custom activities will derive from BusinessActivity .

The quetions is if i want ErrorMessageProperty and RetryCountProperty as dependency properties then in the BusinessActivity how to declare third param in Register method

like

 public static DependencyProperty RetryCountProperty = DependencyProperty.Register("RetryCount", typeof(int), typeof(**BusinessActivity**));

What will happen if i derive from BusinessActivity class ?