 | ImpersonatingTargetWrapperWrite Method (AsyncLogEventInfo) |
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: 6.0.2+933687b98685771e2254dc15c3e0cef5847ab80c
Syntaxprotected override void Write(
AsyncLogEventInfo logEvent
)
Protected Overrides Sub Write (
logEvent As AsyncLogEventInfo
)
Dim logEvent As AsyncLogEventInfo
Me.Write(logEvent)
abstract Write :
logEvent : AsyncLogEventInfo -> unit
override Write :
logEvent : AsyncLogEventInfo -> unit
Parameters
- logEvent
- Type: NLog.CommonAsyncLogEventInfo
The log event.
See Also