| LoggerPushScopeProperties Method (IReadOnlyCollectionKeyValuePairString, Object) |
Namespace:
NLog
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax public IDisposable PushScopeProperties(
IReadOnlyCollection<KeyValuePair<string, Object>> scopeProperties
)
Public Function PushScopeProperties (
scopeProperties As IReadOnlyCollection(Of KeyValuePair(Of String, Object))
) As IDisposable
Dim instance As Logger
Dim scopeProperties As IReadOnlyCollection(Of KeyValuePair(Of String, Object))
Dim returnValue As IDisposable
returnValue = instance.PushScopeProperties(scopeProperties)
member PushScopeProperties :
scopeProperties : IReadOnlyCollection<KeyValuePair<string, Object>> -> IDisposable
Parameters
- scopeProperties
- Type: System.Collections.GenericIReadOnlyCollectionKeyValuePairString, Object
Properties being added to the scope dictionary
Return Value
Type:
IDisposableA disposable object that removes the properties from logical context scope on dispose.
Remarks See Also