TestClusterPortAllocator.AllocateConsecutivePortPairs(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Allocates consecutive port pairs.
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)
Parameters
- numPorts
- Int32
The number of consecutive ports to allocate.
Returns
Base ports for silo and gateway endpoints.