Partager via


DeliverMailItemEventSource.AckRecipientFail Method

When overridden in a derived class, the AckRecipientFail(EnvelopeRecipient, SmtpResponse) method indicates that delivery of a mail item to a specific recipient has failed.

Namespace:  Microsoft.Exchange.Data.Transport.Delivery
Assembly:  Microsoft.Exchange.Data.Transport (in Microsoft.Exchange.Data.Transport.dll)

Syntax

'Declaration
Public MustOverride Sub AckRecipientFail ( _
    recipient As EnvelopeRecipient, _
    smtpResponse As SmtpResponse _
)
'Usage
Dim instance As DeliverMailItemEventSource
Dim recipient As EnvelopeRecipient
Dim smtpResponse As SmtpResponse

instance.AckRecipientFail(recipient, _
    smtpResponse)
public abstract void AckRecipientFail(
    EnvelopeRecipient recipient,
    SmtpResponse smtpResponse
)

Parameters