The logoperation succeeds only on transaction commit, but a failure of the logoperation doesn't cause the transaction to abort.
只有当事务提交的时候日志操作才会成功,但日志操作的失败并不会导致事务被中止。
2
For example, a service may require you to logon before calling another operation, which is termed a pseudo-conversational service.
例如,服务也许要求您在调用另一个操作之前先登录,这称为伪对话服务。
3
Once we know we are in the right context, we can prepare a log record based on the type of operation executed. The following code excerpt illustrates how it can be done.