Edit

Share via


TcpEndpointProbesOptions.TcpPort Property

Definition

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