SqlRetryLogicBaseProvider.RetryLogic プロパティ

定義

発生した例外に基づいて再試行するタイミングを決定するために使用される再試行ロジックを定義します。

public:  property Microsoft::Data::SqlClient::SqlRetryLogicBase ^ RetryLogic {  public:
Microsoft::Data::SqlClient::SqlRetryLogicBase ^ get(); protected:
 void set(Microsoft::Data::SqlClient::SqlRetryLogicBase ^ value); };
public Microsoft.Data.SqlClient.SqlRetryLogicBase RetryLogic { get; protected set; }
member this.RetryLogic : Microsoft.Data.SqlClient.SqlRetryLogicBase with get, set
Public Property RetryLogic As SqlRetryLogicBase

プロパティ値

注釈

注意

プロパティは RetryLogic 作成時 SqlRetryLogicBaseProvider に割り当てられ、その値はテンプレートとして内部的に使用されます。 実行中と実行後の再試行ロジックの状態を監視するために使用しないでください。 代わりに、xref=E:Microsoft.Data.SqlClient.SqlRetryLogicBaseProvider.Retrying イベントを使用 <して、再試行の実行に関するデータを> 収集します。

適用対象