Share via


PartnerAttribute Class

Microsoft Robotics Class Reference

The PartnerAttribute can be used to declare the partners a service communicates with at compile time. When applying this attribute to a field of a type derived from IPort it will be initialized to refer to a partner identified by this attribute.

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.Field, Inherited = true, AllowMultiple = false)]
public class PartnerAttribute : Attribute

Remarks

This attribute is optional

Inheritance Hierarchy

System. . :: . .Object
  System. . :: . .Attribute
    Microsoft.Dss.Core.Attributes..::..PartnerAttribute
      Microsoft.Dss.Core.Attributes. . :: . .SubscriptionManagerPartnerAttribute

See Also

PartnerAttribute Members

Microsoft.Dss.Core.Attributes Namespace