Share via


SqlConfigurableRetryFactory.CreateNoneRetryProvider Method

Definition

Provides a non-retriable provider with a TransientPredicate that returns false.

public:
 static Microsoft::Data::SqlClient::SqlRetryLogicBaseProvider ^ CreateNoneRetryProvider();
public static Microsoft.Data.SqlClient.SqlRetryLogicBaseProvider CreateNoneRetryProvider ();
static member CreateNoneRetryProvider : unit -> Microsoft.Data.SqlClient.SqlRetryLogicBaseProvider
Public Shared Function CreateNoneRetryProvider () As SqlRetryLogicBaseProvider

Returns

A SqlRetryLogicBaseProvider object.

Remarks

Note

The returned provider of this function performs a single execution without any retry logic.

Applies to