다음을 통해 공유


EodResendInterval

 

Applies To: Windows 10, Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Server Technical Preview, Windows Vista

(Introduced in MSMQ 3.0.) The EodResendInterval element of the MSMQCollection object returned by the MSMQOutgoingQueueManagement.EodGetSendInfo method specifies the time interval for resending the messages in the outgoing queue for which no order acknowledgment has been received.

Data type: Long
Run-time access: Read-only
Set collectionObject = outgoingqueuemanagementObject.EodGetSendInfo
()  
collectionObject.Item
("EodResendInterval")  

Parameters

collectionObject

Collection (MSMQCollection) object that is returned by the MSMQOutgoingQueueManagement.EodGetSendInfo method and contains the EodLastNonAck element along with 10 other exactly-once-delivery (EOD) information elements (in C++, a smart pointer to the IMSMQCollection interface).

outgoingqueuemanagementObject

Outgoing queue management (MSMQOutgoingQueueManagement) object that represents the state of the outgoing queue.

Return Values

An element of type Long in an MSMQCollection object indicating the time interval in seconds between the times when messages are resent.

If the queue is an intermediate queue, or it does not contain the requested information, a Variant containing Null is returned in this element.

Remarks

The resend interval is determined by the following registry entries.

  • HKLM\SOFTWARE\Microsoft\MSMQ\Parameters\SeqResend13Time

This entry determines the resend interval for the first to third resend attempts. The default value of this registry entry is 30 seconds.

  • HKLM\SOFTWARE\Microsoft\MSMQ\Parameters\SeqResend46Time

    This entry determines the resend interval for the fourth to sixth resend attempts. The default value of this registry entry is 5 minutes.

  • HKLM\SOFTWARE\Microsoft\MSMQ\Parameters\SeqResend79Time

    This entry determines the resend interval for the seventh to ninth resend attempts. The default value of this registry entry is 30 minutes.

  • HKLM\SOFTWARE\Microsoft\MSMQ\Parameters\SeqResend10Time

    This entry determines the resend interval for the tenth and all subsequent resend attempts. The default value of this registry entry is 6 hours.

To obtain the resend interval, use the MSMQCollection.Item method to retrieve the EodResendInterval element of the MSMQCollection object returned by the MSMQOutgoingQueueManagement.EodGetSendInfo method.

Note

The Item method is the default method for the MSMQCollection object. Therefore, its name can be omitted.

Equivalent API Function Property

When using API functions, the equivalent property is PROPID_MGMT_QUEUE_EOD_RESEND_INTERVAL.

Requirements

Windows NT/2000/XP: Included in Windows XP and Windows Server 2003.

Windows 95/98/Me: Unsupported.

Header: Declared in Mqoai.h.

Library: Use Mqoa.lib.

See Also

MSMQOutgoingQueueManagement
MSMQOutgoingQueueManagement.EodGetSendInfo
PROPID_MGMT_QUEUE_EOD_RESEND_INTERVAL