Várólista ürítése

Microsoft.MSMQ.6.3.Task.PurgeQueue (Task)

A várólistában található összes üzenet eltávolítása.

Element properties:

TargetMicrosoft.MSMQ.6.3.Queues
AccessibilityInternal
CategoryMaintenance
EnabledTrue
RemotableFalse
Timeout300

Member Modules:

ID Module Type TypeId RunAs 
WA WriteAction Microsoft.MSMQ.6.3.PurgeQueue Default

Source Code:

<Task ID="Microsoft.MSMQ.6.3.Task.PurgeQueue" Accessibility="Internal" Enabled="true" Target="Microsoft.MSMQ.6.3.Queues" Timeout="300" Remotable="true">
<Category>Maintenance</Category>
<WriteAction ID="WA" TypeID="Microsoft.MSMQ.6.3.PurgeQueue">
<Computer>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</Computer>
<QueuePath>$Target/Property[Type="Microsoft.MSMQ.6.3.Queue"]/PathName$</QueuePath>
<TimeoutSeconds>300</TimeoutSeconds>
</WriteAction>
</Task>