Edit

Share via


PrimaryBasedLogViewAdaptor<TLogView,TLogEntry,TSubmissionEntry>.TryAppend Method

Definition

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

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

Parameters

logEntry
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).

Implements

Applies to