Share via


ServicePortAttribute Class

Microsoft Robotics Class Reference

The ServicePort attribute decorates the main port where inbound messages will be delivered. The activation processes will reflect on the service for this port and use it when binding to the forwarder path. The Dssp forwarder reflects on the port generic types to determine what Dssp actions are valid on this service.

Namespace: Microsoft.Dss.Core.Attributes
Assembly: Microsoft.Dss.Base (in Microsoft.Dss.Base.dll) Version: 4.0.261.0 (4.0.261.0)

Syntax

[AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Field, Inherited = true, 
    AllowMultiple = false)]
public class ServicePortAttribute : Attribute

Remarks

This attribute is required

Inheritance Hierarchy

System. . :: . .Object
  System. . :: . .Attribute
    Microsoft.Dss.Core.Attributes..::..ServicePortAttribute
      Microsoft.Dss.Core.Attributes. . :: . .AlternateServicePortAttribute

See Also

ServicePortAttribute Members

Microsoft.Dss.Core.Attributes Namespace