Share via


DirectoryQuery Method (String, TimeSpan, DsspResponsePort(ServiceInfoType))

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

Return Value

PortSet on which to result will be posted

See Also

DssEnvironment Class

DirectoryQuery Overload

Microsoft.Dss.Hosting Namespace