DomainParticipantDeleteContentFilteredTopic Method |
Namespace: OpenDDSharp.DDS
public ReturnCode DeleteContentFilteredTopic( ContentFilteredTopic contentFilteredTopic )
The deletion of a ContentFilteredTopic is not allowed if there are any existing DataReader objects that are using the ContentFilteredTopic. If the DeleteContentFilteredTopic(ContentFilteredTopic) operation is called on a ContentFilteredTopic with existing DataReader objects attached to it, it will return PreconditionNotMet.
The DeleteContentFilteredTopic(ContentFilteredTopic) operation must be called on the same DomainParticipant object used to create the ContentFilteredTopic. If DeleteContentFilteredTopic(ContentFilteredTopic) is called on a different DomainParticipant, the operation will have no effect and it will return PreconditionNotMet.