ReceiveMessageEventSource.Quarantine method
When overridden in a derived class, the Quarantine method quarantines the received message for the recipients specified by the recipients parameter by using the reason specified by the quarantineReason parameter.
Namespace: Microsoft.Exchange.Data.Transport.Smtp
Assembly: Microsoft.Exchange.Data.Transport (in Microsoft.Exchange.Data.Transport.dll)
Syntax
'Declaration
Public MustOverride Sub Quarantine ( _
recipients As IEnumerable(Of EnvelopeRecipient), _
quarantineReason As String _
)
'Usage
Dim instance As ReceiveMessageEventSource
Dim recipients As IEnumerable(Of EnvelopeRecipient)
Dim quarantineReason As String
instance.Quarantine(recipients, quarantineReason)
public abstract void Quarantine(
IEnumerable<EnvelopeRecipient> recipients,
string quarantineReason
)
Parameters
recipients
Type: System.Collections.Generic.IEnumerable<EnvelopeRecipient>A collection of EnvelopeRecipient objects that specify the list of recipients for which the message should be quarantined.
quarantineReason
Type: System.StringThe value to put in the quarantine Delivery Status Notification (DSN) with each quarantined recipient for diagnostic purposes.
See also
Reference
ReceiveMessageEventSource class