Click or drag to resize

DataReaderDeleteContainedEntities Method

Deletes all the entities that were created by means of the "create" operations on the DataReader. That is, it deletes all contained ReadCondition and QueryCondition 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 DataReader knowing that it has no contained ReadCondition and QueryCondition objects.

See Also