PurgeQueue Method
Purges input or/and output queue(s).
Syntax
Visual Basic | Sub PurgeQueue(purgeIn As PurgeFlags, purgeOut As PurgeFlags) |
---|---|
Visual C++ (MFC) | void PurgeQueue(PurgeFlags purgeIn, PurgeFlags purgeOut); |
Visual C++ (#import) | void PurgeQueue(PurgeFlags purgeIn, PurgeFlags purgeOut); |
Parameters
purgeIn
[in] If not PurgeNone, input queue will be purged.
purgeOut
[in] If not PurgeNone, output queue will be purged.
Errors
The method may throw exception. Use GetLastError method to get the error code.
Remarks
purgeIn and purgeOut are FTSPCPurgeFlags parameters. If purgeIn is not PurgeNone, input queue will be purged. If purgeOut is not PurgeNone, output queue will be purged.