Click or drag to resize

DomainParticipantDeleteMultiTopic Method

Deletes an existing MultiTopic.

Namespace:  OpenDDSharp.DDS
Assembly:  OpenDDSharp (in OpenDDSharp.dll) Version: 0.5.0.0
Syntax
public ReturnCode DeleteMultiTopic(
	MultiTopic multitopic
)

Parameters

multitopic
Type: OpenDDSharp.DDSMultiTopic
The MultiTopic to be deleted.

Return Value

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

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

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

.
See Also