Click or drag to resize

DomainParticipantDeleteContainedEntities Method

Deletes all the entities that were created by means of the “create” operations on the DomainParticipant. That is, it deletes all contained Publisher, Subscriber, Topic, ContentFilteredTopic, and MultiTopic. This method is applied recursively to the deleted entities.

Namespace:  OpenDDSharp.DDS
Assembly:  OpenDDSharp (in OpenDDSharp.dll) Version: 0.5.0.0
Syntax
public ReturnCode DeleteContainedEntities()

Return Value

Type: ReturnCode
The ReturnCode that indicates the operation result.
Remarks

Prior to deleting each contained entity, this operation will recursively call the corresponding DeleteContainedEntities operation on each contained entity (if applicable).This pattern is applied recursively. In this manner the operation DeleteContainedEntities on the DomainParticipant will end up deleting all the entities recursively contained in the DomainParticipant, that is also the DataWriter, DataReader, as well as the QueryCondition and ReadCondition objects belonging to the contained DataReaders.

See Also