Enriched To HtmlMax Input Length Property
Get or set the maximum input length.
Definition
Namespace: MimeKit.Text
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
The maximum input length.
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public int MaxInputLength { get; set; }Property Value
Int32The maximum input length.
Remarks
Limits all UTF-16 characters read from the input, including commands and suppressed parameters.
Caller-supplied headers and footers are excluded. The default is 16777216.
Exceeding the limit throws FormatException.
Exceptions
| ArgumentOutOfRangeException | value is less than one. |