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 _
)
public abstract void Quarantine (
IEnumerable<EnvelopeRecipient> recipients,
string quarantineReason
)
public:
virtual void Quarantine (
IEnumerable<EnvelopeRecipient^>^ recipients,
String^ quarantineReason
) abstract
public abstract void Quarantine (
IEnumerable<EnvelopeRecipient> recipients,
String quarantineReason
)
public abstract function Quarantine (
recipients : IEnumerable<EnvelopeRecipient>,
quarantineReason : String
)
Parameters
- recipients
A collection of EnvelopeRecipient objects that specify the list of recipients for which the message should be quarantined.
- quarantineReason
The value to put in the quarantine Delivery Status Notification (DSN) with each quarantined recipient for diagnostic purposes.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,
Target Platforms
Windows Server 2003