Click or drag to resize

PublisherDeleteContainedEntities Method

This operation deletes all the entities that were created by means of the “create” operations on the Publisher. That is, it deletes all contained DataWriter objects.

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

The operation will return PreconditionNotMet if the any of the contained entities is in a state where it cannot be deleted.

Once DeleteContainedEntities returns successfully, the application may delete the Publisher knowing that it has no contained DataWriter objects.

See Also