Skip to content

CaptureLogBehavior.LogAsync method

Asynchronously logs a capture log operation

public Task LogAsync(IUnitOfWork uow, IRow? old, IRow? row, object? userId, 
    CancellationToken cancellationToken = default)
parameter description
uow Unit of work
old Old entity
row New entity
userId User ID
cancellationToken Cancellation token

Exceptions

exception condition
ArgumentNullException old and row are both null.
InvalidOperationException Capture log row type does not implement ICaptureLogRow interface

See Also