| EventLogTargetMaxMessageLength Property |
Gets or sets the message length limit to write to the Event Log.
Namespace:
NLog.Targets
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax public int MaxMessageLength { get; set; }
Public Property MaxMessageLength As Integer
Get
Set
Dim instance As EventLogTarget
Dim value As Integer
value = instance.MaxMessageLength
instance.MaxMessageLength = value
member MaxMessageLength : int with get, set
Property Value
Type:
Int32Remarks Property Value
Type: Int32
MaxMessageLength cannot be zero or negativeSee Also