public sealed class TrafficPortSelector : IMessage<TrafficPortSelector>, IEquatable<TrafficPortSelector>, IDeepCloneable<TrafficPortSelector>, IBufferMessage, IMessage
Reference documentation and code samples for the Network Services v1 API class TrafficPortSelector.
Optional. A list of ports. Can be port numbers or port range
(example, [80-90] specifies all ports from 80 to 90, including
80 and 90) or named ports or * to specify all ports. If the
list is empty, all ports are selected.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis page provides reference documentation for the \u003ccode\u003eTrafficPortSelector\u003c/code\u003e class within the Network Services v1 API in .NET.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTrafficPortSelector\u003c/code\u003e class is used to define a port-based selector for network traffic, inheriting from the base \u003ccode\u003eobject\u003c/code\u003e class and implementing multiple interfaces for message handling and cloning.\u003c/p\u003e\n"],["\u003cp\u003eIt includes constructors for creating new instances, one empty, and another to use a preexisting \u003ccode\u003eTrafficPortSelector\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe main functionality is provided by the \u003ccode\u003ePorts\u003c/code\u003e property, which accepts a list of ports, ranges, or named ports, and using * will select all ports.\u003c/p\u003e\n"],["\u003cp\u003eThe latest stable version of TrafficPortSelector is version 1.0.0.\u003c/p\u003e\n"]]],[],null,[]]