|
SubscriberDeleteContainedEntities Method
|
This operation deletes all the entities that were created by means of the "create" operations on the
Subscriber. That is, it
deletes all contained
DataReader objects. This pattern is applied recursively. In this manner the operation
DeleteContainedEntities on the
Subscriber will end up deleting all the entities recursively contained in the
Subscriber, that
is also the
QueryCondition and
ReadCondition objects belonging to the contained
DataReaders.
Namespace:
OpenDDSharp.DDS
Assembly:
OpenDDSharp (in OpenDDSharp.dll) Version: 0.5.0.0
Syntax public ReturnCode DeleteContainedEntities()
Public Function DeleteContainedEntities As ReturnCode
public:
ReturnCode DeleteContainedEntities()
member DeleteContainedEntities : unit -> ReturnCode
Return Value
Type:
ReturnCodeThe
ReturnCode that indicates the operation result.
Remarks The operation will return PreconditionNotMet if any of the contained entities is in a state where it cannot be deleted.
Once DeleteContainedEntities returns successfully, the application may delete the Subscriber knowing that it has no
contained DataReader objects.
See Also