Message contracts are intermediary objects that are used to include a single message in multiple contracts. Message contracts are modeled as extended objects with a stereotype of <<MessageContract>>.
You can create a message contract in any of the following ways:
Use the tools on the MessageTypes tab of a contract property sheet (see Contracts (SQL Server)).
Select Add a Row tool.
to access the List of Message Contracts, and click theRight-click the model (or a package) in the Browser, and select
.You can modify an object's properties from its property sheet. To open a message contract property sheet, double-click its Browser entry.
The following extended attributes are available on the Microsoft tab:
Name |
Description |
---|---|
Sent by |
Specifies which endpoint can send a message of the indicated message type. Contracts document the messages that services can use to have specific conversations. Each conversation has two endpoints: the initiator endpoint, the service that started the conversation, and the target endpoint, the service that the initiator is contacting. Scripting name: Sender |
Message type |
Specifies the message type of the contract. Scripting name: MessageType |