共用方式為


ClientRetryPolicy(Int32) Constructor

Definition

Creates a new instance of the ClientRetryPolicy class.

public ClientRetryPolicy (int maxRetries = 3);
new System.ClientModel.Primitives.ClientRetryPolicy : int -> System.ClientModel.Primitives.ClientRetryPolicy
Public Sub New (Optional maxRetries As Integer = 3)

Parameters

maxRetries
Int32

The maximum number of retries to attempt.

Applies to