Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Microsoft Robotics Class Reference
Queries the local directory for a service instance URI given a 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<ServiceInfoType> DirectoryQuery(
string contract,
TimeSpan expiration,
DsspResponsePort<ServiceInfoType> result
)
Parameters
- contract
Type: System. . :: . .String
Service contract identifier
- expiration
Type: System. . :: . .TimeSpan
Timeout for query results
- result
Type: Microsoft.Dss.ServiceModel.Dssp. . :: . .DsspResponsePort< (Of < ( <'ServiceInfoType> ) > ) >
Result port to use for query results
Return Value
PortSet on which to result will be posted