Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

PortSetMode Enumeration

Microsoft Robotics
Microsoft Robotics Class Reference
PortSet operation modes

Namespace: Microsoft.Ccr.Core.Arbiters
Assembly: Microsoft.Ccr.Core (in Microsoft.Ccr.Core.dll) Version: (

public enum PortSetMode

Member nameValueDescription
Default0 Default mode, independent queues for each type in generic type arguments
SharedPort1 PortSet uses a single Port instance for all generic type arguments

This mode should be used with caution. It is only appropriate for PortSet instances where only a single message instance will be posted, chosen from one of the types in the generic port definition. Response ports are a common example where having two independent queues is redundant since only one message, on only one of the queues can ever be posted.
© 2015 Microsoft