Click or drag to resize

WriterDataLifecycleQosPolicyAutodisposeUnregisteredInstances Property

Controls the behavior when the DataWriter unregisters an instance by means of the unregister operations. If the value of this property is equals , causes the DataWriter to dispose the instance each time it is unregistered. The behavior is identical to explicitly calling one of the dispose operations on the instance prior to calling the unregister operation. Otherwise, if the value of this property is equals , will not cause this automatic disposition upon unregistering. The application can still call one of the dispose operations prior to unregistering the instance and accomplish the same effect.

Namespace:  OpenDDSharp.DDS
Assembly:  OpenDDSharp (in OpenDDSharp.dll) Version: 0.5.0.0
Syntax
public bool AutodisposeUnregisteredInstances { get; set; }

Property Value

Type: Boolean
Remarks
Note that the deletion of a DataWriter automatically unregisters all data-instances it manages. Therefore the setting of the AutodisposeUnregisteredInstances flag will determine whether instances are ultimately disposed when the DataWriter is deleted either directly by means of the Publisher DeleteDataWriter operation or indirectly as a consequence of calling DeleteContainedEntities on the Publisher or the DomainParticipant that contains the DataWriter.
See Also