Click or drag to resize

DomainParticipantDeleteContentFilteredTopic Method

Deletes an existing ContentFilteredTopic.

Namespace:  OpenDDSharp.DDS
Assembly:  OpenDDSharp (in OpenDDSharp.dll) Version: 0.5.0.0
Syntax
public ReturnCode DeleteContentFilteredTopic(
	ContentFilteredTopic contentFilteredTopic
)

Parameters

contentFilteredTopic
Type: OpenDDSharp.DDSContentFilteredTopic
The ContentFilteredTopic to be deleted.

Return Value

Type: ReturnCode
The ReturnCode that indicates the operation result.
Remarks

The deletion of a ContentFilteredTopic is not allowed if there are any existing DataReader objects that are using the ContentFilteredTopic. If the DeleteContentFilteredTopic(ContentFilteredTopic) operation is called on a ContentFilteredTopic with existing DataReader objects attached to it, it will return PreconditionNotMet.

The DeleteContentFilteredTopic(ContentFilteredTopic) operation must be called on the same DomainParticipant object used to create the ContentFilteredTopic. If DeleteContentFilteredTopic(ContentFilteredTopic) is called on a different DomainParticipant, the operation will have no effect and it will return PreconditionNotMet.

See Also