LogRecordSequence.RetryAppend プロパティ

定義

ログがいっぱいの場合に、追加を自動的に再試行するかどうかを示す値を取得または設定します。

public:
 property bool RetryAppend { bool get(); void set(bool value); };
public bool RetryAppend { get; set; }
member this.RetryAppend : bool with get, set
Public Property RetryAppend As Boolean

プロパティ値

ログがいっぱいの場合に追加の再試行を自動的に行う場合は true。それ以外の場合は false。 既定値は、true です。

実装

例外

シーケンスが破棄された後にプロパティがアクセスされました。

RetryAppend プロパティを使用する方法を次の例に示します。

// SET RETRY APPEND

// IO.Log provides a mechanism similar to AutoGrow.
// If the existing log is full and an append fails, setting RetryAppend
// invokes the CLFS policy engine to add new extents and re-tries
// record appends. If MaximumExtent count has been reached,
// a SequenceFullException is thrown.
//

sequence.RetryAppend = true;

// RETRY APPEND END
' SET RETRY APPEND

' IO.Log provides a mechanism similar to AutoGrow.
' If the existing log is full and an append fails, setting RetryAppend
' invokes the CLFS policy engine to add new extents and re-tries
' record appends. If MaximumExtent count has been reached, 
' a SequenceFullException is thrown. 
' 

sequence.RetryAppend = True

' RETRY APPEND END

注釈

このプロパティ値が true である場合で、シーケンス内に十分な領域がないために Append の呼び出しが失敗したときは、レコード シーケンスが領域の解放を試みた後、追加の再試行を行います。

適用対象