共用方式為


PortType type

定義 PortType 的值。
KnownPortType 可以與 PortType 交換使用,此列舉包含服務支援的已知值。

服務支援的已知值

SourcePort
DestinationPort

type PortType = string