|
DomainParticipantIgnorePublication Method
|
Instructs DDS to locally ignore a remote publication. After this call, any data written related to that publication will be ignored.
Namespace:
OpenDDSharp.DDS
Assembly:
OpenDDSharp (in OpenDDSharp.dll) Version: 0.5.0.0
Syntax public ReturnCode IgnorePublication(
InstanceHandle handle
)
Public Function IgnorePublication (
handle As InstanceHandle
) As ReturnCode
public:
ReturnCode IgnorePublication(
InstanceHandle handle
)
member IgnorePublication :
handle : InstanceHandle -> ReturnCode
Parameters
- handle
- Type: OpenDDSharp.DDSInstanceHandle
The InstanceHandle of the DataWriter to be ignored.
Return Value
Type:
ReturnCodeThe
ReturnCode that indicates the operation result.
Remarks The DataWriter to ignore is identified by the handle argument. This handle is the one that appears in the SampleInfo retrieved
when reading the data-samples from the built-in DataReader on the "DCPSPublication" topic. To ignore a local DataWriter, the handle can be obtained with
the property InstanceHandle for the local DataWriter.
There is no way to reverse this operation.
See Also