DeliverMailItemEventSource.DeferQueue Method (SmtpResponse, TimeSpan)
When overridden in a derived class, the DeferQueue(SmtpResponse, TimeSpan) method causes the remote delivery queue to enter the retry state with the specified SMTP response as the last error and the specified retry interval.
Namespace: Microsoft.Exchange.Data.Transport.Delivery
Assembly: Microsoft.Exchange.Data.Transport (in Microsoft.Exchange.Data.Transport.dll)
Syntax
'Declaration
Public MustOverride Sub DeferQueue ( _
smtpResponse As SmtpResponse, _
interval As TimeSpan _
)
'Usage
Dim instance As DeliverMailItemEventSource
Dim smtpResponse As SmtpResponse
Dim interval As TimeSpan
instance.DeferQueue(smtpResponse, interval)
public abstract void DeferQueue(
SmtpResponse smtpResponse,
TimeSpan interval
)
Parameters
- smtpResponse
Type: Microsoft.Exchange.Data.Transport.Smtp.SmtpResponse
The SMTP response to send as the last error on the delivery queue.
- interval
Type: System.TimeSpan
The interval between delivery retries.