WF compilation Error

Source: Internet
Author: User

When I recently studied WF, I encountered an unknown error, such as the error message.

Error 102 extend "Microsoft. activities. build. validation. validationbuildextension "triggers" system. XAML. xamlobjectwriterexception "type exception:" For type "founder. framework. workflow. WF. data. when taskactivity constructor executes a call that meets the specified binding constraints, an exception is thrown. ". Founder. Framework. workflow. Test

Du Niang Google seems to have no solution, and eventually found that this error was caused by the taskactivity class change.

Because the class I defined is public sealed class taskactivity: nativeactivity inherits nativeactivity, all fields or attributes in taskactivity must correspond to the attributes in the WF flowchart, if the attributes that do not exist in the flowchart are added here, this error is reported.

 

Therefore, do not add attributes in taskactivity. Otherwise, the preceding error is reported. The error message is shown in:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.