SISConnectorSvcGetNextPendingMessagesEx Method |
The GetNextPendingMessagesEx method sequentially retrieves a specific number of Outgoing Queue items whose status is Pending.
Namespace: SISConnectorService
C#
public ReturnStatus GetNextPendingMessagesEx( int recordCount, long[] propertyIds, MessageConfigInfo msgConfigInfo, out ObjectInformation[] objectsInformation )
Parameters
- recordCount
- Type: SystemInt32
[in] The number of items that must be retrieved from the Outgoing Queue. For example, if you want to retrieve five Outgoing Queue items, specify the value 5. The first five Outgoing Queue items are retrieved. However, if the queue contains three items, only those three items are retrieved. - propertyIds
- Type: SystemInt64
[in] This is an array of Property IDs of Outgoing Queue items. - msgConfigInfo
- Type: MessageConfigInfo
[in] This parameter is used to specify whether the retrieval of Outgoing Queue items is sequenced. You can pass one of the following values for this parameter:- True - The retrieval of Outgoing Queue items is sequenced.
- False - The retrieval of Outgoing Queue items is not sequenced.
- objectsInformation
- Type: Talisma.Server.TLSysSISConnectorObjectInformation
[out] This parameter is an array of the ObjectInformation structure, which contains information about the Outgoing Transaction queue whose messages are retrieved.
Return Value
Type: ReturnStatusThe GetNextPendingMessagesEx method returns the ReturnStatus structure with the value of the statusId member as 0 if the operation is successful, or -1 along with the error code and error message if the operation fails.
