DeliverMailItemEventSource.FailQueue method
When overridden in a derived class, the FailQueue(SmtpResponse) method causes all messages in the remote delivery queue to fail with the specified response.
Namespace: Microsoft.Exchange.Data.Transport.Delivery
Assembly: Microsoft.Exchange.Data.Transport (in Microsoft.Exchange.Data.Transport.dll)
Syntax
'Declaration
Public MustOverride Sub FailQueue ( _
smtpResponse As SmtpResponse _
)
'Usage
Dim instance As DeliverMailItemEventSource
Dim smtpResponse As SmtpResponse
instance.FailQueue(smtpResponse)
public abstract void FailQueue(
SmtpResponse smtpResponse
)
Parameters
smtpResponse
Type: Microsoft.Exchange.Data.Transport.Smtp.SmtpResponseThe recipient status to send.
See also
Reference
DeliverMailItemEventSource class