Click or drag to resize

MessageQueueTarget Constructor (String)

Initializes a new instance of the MessageQueueTarget class.

Namespace:  NLog.Targets
Assembly:  NLog.MSMQ (in NLog.MSMQ.dll) Version: 5.3.1+40400fa5f822c8a012031d98e17482db9dd5fb65
Syntax
public MessageQueueTarget(
	string name
)

Parameters

name
Type: SystemString
Name of the target.
Remarks
The default value of the layout is:
1${longdate}|${level:uppercase=true}|${logger}|${message:withexception=true}
See Also