 | TargetWithContextGetScopeContextProperties Method |
Namespace:
NLog.Targets
Assembly:
NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntaxprotected IDictionary<string, Object?>? GetScopeContextProperties(
LogEventInfo logEvent
)
Protected Function GetScopeContextProperties (
logEvent As LogEventInfo
) As IDictionary(Of String, Object)
Dim logEvent As LogEventInfo
Dim returnValue As IDictionary(Of String, Object)
returnValue = Me.GetScopeContextProperties(logEvent)
member GetScopeContextProperties :
logEvent : LogEventInfo -> IDictionary<string, Object>
Parameters
- logEvent
- Type: NLogLogEventInfo
Return Value
Type:
IDictionaryString,
ObjectDictionary with ScopeContext properties if any, else null
See Also