Share via


WaitForService Method

Microsoft Robotics Class Reference

Waits for service to be available.

Namespace: Microsoft.Dss.Hosting
Assembly: Microsoft.Dss.Environment (in Microsoft.Dss.Environment.dll) Version: 4.0.261.0 (4.0.261.0)

Syntax

public Port<ServiceInfoType> WaitForService(
    string contract,
    TimeSpan timeout
)

Parameters

Return Value

A port where result is posted; null if service is not available (within timeout).

See Also

DssNode Class

Microsoft.Dss.Hosting Namespace