Click or drag to resize

DomainParticipantContainsEntity Method

Checks whether or not the given handle represents an Entity that was created from the DomainParticipant.

Namespace:  OpenDDSharp.DDS
Assembly:  OpenDDSharp (in OpenDDSharp.dll) Version: 0.5.0.0
Syntax
public bool ContainsEntity(
	InstanceHandle handle
)

Parameters

handle
Type: OpenDDSharp.DDSInstanceHandle
The InstanceHandle to be checked.

Return Value

Type: Boolean
if the Entity is contained by the DomainParticipant, otherwise .
Remarks

The containment applies recursively. That is, it applies both to entities (ITopicDescription, Publisher, or Subscriber) created directly using the DomainParticipant as well as entities created using a contained Publisher, or Subscriber as the factory, and so forth.

The instance handle for an Entity may be obtained from built-in topic data, from various statuses, or from the Entity property InstanceHandle.

See Also