你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IWithRetries<ParentT>.WithRetriesBeforeUnhealthy(Int32) 方法

定义

指定在服务器被视为不正常之前重试的次数。

public Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayProbe.UpdateDefinition.IWithAttach<ParentT> WithRetriesBeforeUnhealthy(int retryCount);
abstract member WithRetriesBeforeUnhealthy : int -> Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayProbe.UpdateDefinition.IWithAttach<'ParentT>
Public Function WithRetriesBeforeUnhealthy (retryCount As Integer) As IWithAttach(Of ParentT)

参数

retryCount
Int32

介于 1 和 20 之间的数字。

返回

适用于