Click or drag to resize

MessageQueueTargetQueue Property

Gets or sets the name of the queue to write to.

Namespace:  NLog.Targets
Assembly:  NLog.MSMQ (in NLog.MSMQ.dll) Version: 5.3.1+40400fa5f822c8a012031d98e17482db9dd5fb65
Syntax
public Layout Queue { get; set; }

Property Value

Type: Layout
Remarks
To write to a private queue on a local machine use .\private$\QueueName. For other available queue names, consult MSMQ documentation.
See Also