Нотатка
Доступ до цієї сторінки потребує авторизації. Можна спробувати ввійти або змінити каталоги.
Доступ до цієї сторінки потребує авторизації. Можна спробувати змінити каталоги.
Adds a message to the batch to be processed by the BizTalk Server Messaging Engine.
Syntax
HRESULT IBTTransportBatch::SubmitMessage(
IBaseMessage*
pIndoc
);
Sub SubmitMessage(
pIndoc
As IBaseMessage
)
Remarks
Parameters
pIndoc
[in] Reference to a IBaseMessage object/interface that contains the message to be added to the batch.
pIndoc
IBaseMessage object/interface that contains the message to be added to the batch.
Return Values
This method returns an HRESULT indicating whether it completed successfully. See the Error Values section for more details.
None.
Error Values
This method returns an HRESULT containing one of the values in the following table.
This method indicates errors by setting the Number property of the global Err object to one of the values in the following table.
| Value | Description |
|---|---|
| S_OK | The method completed successfully. |
| BTS_E_URL_DISALLOWED | The URL specified on the message context was not valid at the time the API was called. |
| E_INVALIDARG | A parameter that is not valid was detected. |
Remarks
The context properties InboundTransportLocation and InboundTransportType should be present in the message context; this is used to look up the receive port configuration for this URL.
Requirements
Platforms: Windows
See Also
IBTTransportBatch Interface (COM)
IBTTransportBatch Members (COM)