CreateService Method (ConstructorPort, String, PartnerType[])
Microsoft Robotics Class Reference
Creates a new instance of the service.
Namespace: Microsoft.Dss.Services.TestAggregator.Proxy
Assembly: Microsoft.Dss.Runtime.Proxy (in Microsoft.Dss.Runtime.Proxy.dll) Version: 2.1.9999.0
Syntax
public static DsspResponsePort<CreateResponse> CreateService(
ConstructorPort constructorServicePort,
string service,
params PartnerType[] partners
)
'Declaration
Public Shared Function CreateService ( _
constructorServicePort As ConstructorPort, _
service As String, _
ParamArray partners As PartnerType() _
) As DsspResponsePort(Of CreateResponse)
public:
static DsspResponsePort<CreateResponse^>^ CreateService(
ConstructorPort^ constructorServicePort,
String^ service,
... array<PartnerType^>^ partners
)
Parameters
- constructorServicePort
Type: Microsoft.Dss.Services.Constructor. . :: .ConstructorPort
Service constructor port
- service
Type: System. . :: .String
service path
- partners
Type: array< Microsoft.Dss.ServiceModel.Dssp. . :: .PartnerType > [] () []
the partners of the service instance
Return Value
create service response port