log4net SDK Reference

AdoNetAppender.SendBuffer Method (IDbTransaction, LoggingEvent[])

Writes the events to the database using the transaction specified.

[Visual Basic]
Overridable Overloads Protected Sub SendBuffer( _
   ByVal dbTran As IDbTransaction, _
   ByVal events As LoggingEvent() _
)
[C#]
protected virtual void SendBuffer(
   IDbTransaction dbTran,
   LoggingEvent[] events
);

Parameters

dbTran
The transaction that the events will be executed under.
events
The array of events to insert into the database.

Remarks

The transaction argument can be null if the appender has been configured not to use transactions. See UseTransactions property for more information.

See Also

AdoNetAppender Class | log4net.Appender Namespace | AdoNetAppender.SendBuffer Overload List