DeliverMailItemEventSource.AckMailItemFail Method
When overridden in a derived class, the AckMailItemFail(SmtpResponse) method indicates that a permanent failure has occurred during delivery.
Namespace: Microsoft.Exchange.Data.Transport.Delivery
Assembly: Microsoft.Exchange.Data.Transport (in Microsoft.Exchange.Data.Transport.dll)
Syntax
'Declaration
Public MustOverride Sub AckMailItemFail ( _
smtpResponse As SmtpResponse _
)
'Usage
Dim instance As DeliverMailItemEventSource
Dim smtpResponse As SmtpResponse
instance.AckMailItemFail(smtpResponse)
public abstract void AckMailItemFail(
SmtpResponse smtpResponse
)
Parameters
- smtpResponse
Type: Microsoft.Exchange.Data.Transport.Smtp.SmtpResponse
The SMTP response to send.