DomainParticipantDeletePublisher Method |
Namespace: OpenDDSharp.DDS
A Publisher cannot be deleted if it has any attached DataWriter objects. If DeletePublisher(Publisher) is called on a Publisher with existing DataWriter object, it will return PreconditionNotMet.
The DeletePublisher(Publisher) operation must be called on the same DomainParticipant object used to create the Publisher. If DeletePublisher(Publisher) is called on a different DomainParticipant, the operation will have no effect and it will return PreconditionNotMet.