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.SmtpResponseThe SMTP response to send.
See also
Reference
DeliverMailItemEventSource class