IBTTransportBatch.Resubmit Method (COM)

 

Adds a message to the batch to be resubmitted.

Syntax

  
        HRESULT IBTTransportBatch::Resubmit(  
        IBaseMessage*  
        pIndoc,  
DATEdtTimeStamp);  
  
        Sub Resubmit(  
        pIndoc  
         As IBaseMessage,  
dtTimeStamp As Date)  

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.

dtTimeStamp
[in] Date type that contains the time the message should be redelivered to this adapter.

dtTimeStamp
Date that contains the message should be redelivered to this adapter.

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.
E_INVALIDARG A parameter that is not valid was detected.

Remarks

This method should only be called on send-side.

Requirements

Platforms:  Windows

See Also

IBTTransportBatch Interface (COM)
IBTTransportBatch Members (COM)