|
DomainParticipantFactoryCreateParticipant Method (Int32, DomainParticipantQos)
|
Creates a
DomainParticipant with the desired QoS policies and without listener attached.
Namespace:
OpenDDSharp.DDS
Assembly:
OpenDDSharp (in OpenDDSharp.dll) Version: 0.5.0.0
Syntax public DomainParticipant CreateParticipant(
int domainId,
DomainParticipantQos qos
)
Public Function CreateParticipant (
domainId As Integer,
qos As DomainParticipantQos
) As DomainParticipant
public:
DomainParticipant^ CreateParticipant(
int domainId,
DomainParticipantQos^ qos
)
member CreateParticipant :
domainId : int *
qos : DomainParticipantQos -> DomainParticipant
Parameters
- domainId
- Type: SystemInt32
Domain ID that the application intends to join. - qos
- Type: OpenDDSharp.DDSDomainParticipantQos
The DomainParticipantQos policies to be used for creating the new DomainParticipant.
Return Value
Type:
DomainParticipant The newly created
DomainParticipant on success, otherwise
.
Remarks
If the specified QoS policies are not consistent, the operation will fail and no
DomainParticipant will be created.
See Also