OpenConnectionEventSource.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 last error and 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 OpenConnectionEventSource
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 last error to report for the delivery queue.
- interval
Type: System.TimeSpan
The retry interval.