Click or drag to resize

TargetPropertyWithContext Constructor (String, Layout)

Initializes a new instance of the TargetPropertyWithContext class.

Namespace:  NLog.Targets
Assembly:  NLog (in NLog.dll) Version: 5.5.0+1873145cbc26e0312d9481234d69ce7dc68aac4e
Syntax
public TargetPropertyWithContext(
	string name,
	Layout layout
)

Parameters

name
Type: SystemString
The name of the attribute.
layout
Type: NLog.LayoutsLayout
The layout of the attribute's value.
See Also