| ImpersonatingTargetWrapperWrite Method (IListAsyncLogEventInfo) |
Changes the security context, forwards the call to the
WrappedTarget.Write()
and switches the context back to original.
Namespace:
NLog.Targets.Wrappers
Assembly:
NLog.WindowsIdentity (in NLog.WindowsIdentity.dll) Version: 5.3.0+26b1fda2a4988e638aa77c5dd68f6ffd321a20c9
Syntax protected override void Write(
IList<AsyncLogEventInfo> logEvents
)
Protected Overrides Sub Write (
logEvents As IList(Of AsyncLogEventInfo)
)
Dim logEvents As IList(Of AsyncLogEventInfo)
Me.Write(logEvents)
abstract Write :
logEvents : IList<AsyncLogEventInfo> -> unit
override Write :
logEvents : IList<AsyncLogEventInfo> -> unit
Parameters
- logEvents
- Type: System.Collections.GenericIListAsyncLogEventInfo
Log events.
See Also