TcpEndpointProbesOptions.TcpPort Property
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.
Gets or sets the TCP port that gets opened if the service is healthy and closed otherwise.
public:
property int TcpPort { int get(); void set(int value); };
[System.ComponentModel.DataAnnotations.Range(1, 65535)]
public int TcpPort { get; set; }
[<System.ComponentModel.DataAnnotations.Range(1, 65535)>]
member this.TcpPort : int with get, set
Public Property TcpPort As Integer
Property Value
The default value is 2305.
- Attributes
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.