SubscriberDeleteDataReader Method |
Namespace: OpenDDSharp.DDS
If the DataReader does not belong to the Subscriber, the operation returns the error PreconditionNotMet.
The deletion of a DataReader is not allowed if there are any existing ReadCondition or QueryCondition objects that are attached to the DataReader. If the DeleteDataReader operation is called on a DataReader with any of these existing objects attached to it, it will return PreconditionNotMet.
The DeleteDataReader operation must be called on the same Subscriber object used to create the DataReader. If DeleteDataReader is called on a different Subscriber, the operation will have no effect and it will return PreconditionNotMet.