IBTTransportBatch.SubmitMessage Method (COM)
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)
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for