CreateService Method (String, PartnerType[])
Microsoft Robotics Class Reference
Creates a service instance on the local node, using the contract identifier
Namespace: Microsoft.Dss.Hosting
Assembly: Microsoft.Dss.Environment (in Microsoft.Dss.Environment.dll) Version: 4.0.261.0 (4.0.261.0)
Syntax
public static DsspResponsePort<CreateResponse> CreateService(
string contract,
params PartnerType[] partners
)
Parameters
- contract
Type: System. . :: . .String
Contract identifier for the service
- partners
Type: array<Microsoft.Dss.ServiceModel.Dssp. . :: . .PartnerType> [] () [] []
Service partners
Return Value
PortSet on which to result will be posted