OutputMessages.TransferMessagesToCollection

Syntax

OutputMessages.TransferMessagesToCollection( target)

Purpose

Transfers all OutputMessage objects in the collection to a target collection. The collection is empty after you call this method.

Remarks

This method is thread-safe with respect to the source collection in that the source collection cannot be modified from another thread while the transfer is in progress.

Parameters

target As OutputMessages

[In] Specifies the target collection to receive the OutputMessage objects.

See Also

OutputMessages

OutputMessages.Clear

OutputMessages.Remove