SocketsHttpHandlerOptions.ConnectTimeout 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 length of time (in seconds) to wait for a connection to the server before terminating the attempt and generating an error.
public:
property TimeSpan ConnectTimeout { TimeSpan get(); void set(TimeSpan value); };
public TimeSpan ConnectTimeout { get; set; }
member this.ConnectTimeout : TimeSpan with get, set
Public Property ConnectTimeout As TimeSpan
Property Value
The default value is 10 seconds. 100 minutes is the max timeout value in Azure SLB.
Applies to
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.