Requirements and restrictions on Expressions

Source: Internet
Author: User
Requirements and restrictions on Expressions

The BizTalk expression editor in the Business Process designer is a standard Visual Studio text editor, which means it provides the intelliisense function. You can use the BizTalk expression editor to enter an expression in text format.

You can enter a single expression in the text box. The expression can span multiple rows, but must end with a semicolon.

The following lists the restrictions that must be observed when using expressions in the BizTalk expression Editor:

    • compound assignment is not supported, such as "+ =", "-=", or "* = ".

    • multiple value assignment operators cannot be used in one statement.
    • values cannot be assigned in the "if" or "while" predicates.
    • increment and decrease are not supported. For example, "++" and "--".
    • for the message section, use Microsoft. xlangs. basetypes. distinguishedfieldattribute, all public data fields and non-read-only fields.. NET attributes can be annotated with public methods, nested types, static data fields, read-only.. net.
    • indexer or parameterized. NET attributes are not supported.
    • delegation and events are not supported.
    • generics are not supported.
    • the stream control syntax is not supported, such as "foreach", "for", "do-while", "break", and "continue ".
    • ternary computation is not supported. For example, :".
    • you can add comments to the expression shape, but the expression shape must contain at least one statement.
    • arrays are not supported.
    • when you place an expression shape in a message shape, you cannot execute any control flow. For example, "If-then-else" or "while ".
    • all valid expression statements are in the following format:
    • dotted-name = expression;
    • Dotted-name.FunctionCallExpression;

although you can use the BizTalk expression editor to easily and quickly enter complex expressions, you cannot use it to enter any number of codes . This is to make the business process code different from its implementation code.

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.