I would like to create a WF receive activity but customized to use a fixed contract and fixed parameters. I have thought in extending the Receive activity and set some of it properties, but it is a sealed class.
Which is the best aproach to do that?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Your designer can use an IActivityTemplateFactory to pre-configure the existing Send/Receive with the contract you want. You can also add variables that may be required. That way developers won’t have to type in each of the parameters.