Redigera

Dela via


ILogViewUpdate<TLogEntry>.TryAppend(TLogEntry) Method

Definition

Try to append a single log entry at the current position of the log.

public System.Threading.Tasks.Task<bool> TryAppend (TLogEntry entry);
abstract member TryAppend : 'LogEntry -> System.Threading.Tasks.Task<bool>
Public Function TryAppend (entry As TLogEntry) As Task(Of Boolean)

Parameters

entry
TLogEntry

Returns

true if the entry was appended successfully, or false if there was a concurrency conflict (i.e. some other entries were previously appended).

Applies to