Share via


SqlConfigurableRetryFactory.CreateExponentialRetryProvider 메서드

정의

지수 시간 간격 재시도 논리 공급자를 제공합니다.

public:
 static Microsoft::Data::SqlClient::SqlRetryLogicBaseProvider ^ CreateExponentialRetryProvider(Microsoft::Data::SqlClient::SqlRetryLogicOption ^ retryLogicOption);
public static Microsoft.Data.SqlClient.SqlRetryLogicBaseProvider CreateExponentialRetryProvider (Microsoft.Data.SqlClient.SqlRetryLogicOption retryLogicOption);
static member CreateExponentialRetryProvider : Microsoft.Data.SqlClient.SqlRetryLogicOption -> Microsoft.Data.SqlClient.SqlRetryLogicBaseProvider
Public Shared Function CreateExponentialRetryProvider (retryLogicOption As SqlRetryLogicOption) As SqlRetryLogicBaseProvider

매개 변수

retryLogicOption
SqlRetryLogicOption

개체에 SqlRetryLogicOption 대한 구성을 포함하는 의 개체입니다.

반환

SqlRetryLogicBaseProvider 개체입니다.

예외

매개 변수가 retryLogicOption null이면 입니다.

다음 조건 중 하나 이상이 발생하는 경우:

  • NumberOfTries 가 1보다 작거나 60보다 큰 경우
  • DeltaTime 가 120초보다 큽다.
  • MinTimeInterval 가 120초보다 큽다.
  • MaxTimeInterval 가 120초보다 큽다.
  • MinTimeInterval 가 보다 MaxTimeInterval작지 않습니다.

설명

참고

내부 열거자에는 클라이언트의 여러 인스턴스가 후속 재시도를 동시에 수행하지 못하도록 임의화가 포함됩니다.

적용 대상