How to Add a Message for an Exception

Follow these steps to add a fault with a message.

To add a message for an exception

  1. In the Orchestration View window, right-click Messages and select New Message.

    This creates Message_3, which you can assign specifically to the fault.

  2. Right-click Message_3 and select Properties.

  3. In the Properties dialog box, set the Message Type.

    Select .NET Classes, and then select SystemString.

See Also

Using BizTalk Server Exception Handling