共用方式為


TestClusterPortAllocator.AllocateConsecutivePortPairs(Int32) 方法

定義

配置連續的埠配對。

public (int, int) AllocateConsecutivePortPairs (int numPorts = 5);
abstract member AllocateConsecutivePortPairs : int -> ValueTuple<int, int>
override this.AllocateConsecutivePortPairs : int -> ValueTuple<int, int>
Public Function AllocateConsecutivePortPairs (Optional numPorts As Integer = 5) As ValueTuple(Of Integer, Integer)

參數

numPorts
Int32

要配置的連續埠數目。

傳回

定址接收器和閘道端點的基底埠。

實作

適用於