PublisherCreateDataWriter Method (Topic, DataWriterListener)
public DataWriter CreateDataWriter( Topic topic, DataWriterListener listener )
Public Function CreateDataWriter ( topic As Topic, listener As DataWriterListener ) As DataWriter
public: DataWriter^ CreateDataWriter( Topic^ topic, DataWriterListener^ listener )
member CreateDataWriter : topic : Topic * listener : DataWriterListener -> DataWriter
The Topic passed to this operation must have been created from the same DomainParticipant that was used to create this Publisher. If the Topic was created from a different DomainParticipant, the operation will fail and return a result.