PrimaryBasedLogViewAdaptor<TLogView,TLogEntry,TSubmissionEntry>.TryAppend Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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).