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 시퀀스에 공간이 부족하여 호출이 실패하면 레코드 시퀀스는 공간을 확보하고 추가를 다시 시도합니다.

적용 대상