Rtf Compliance IssueGet Severity Method
Get the severity of an RTF compliance violation.
Definition
Namespace: MimeKit.Text
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
The severity.
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public static MimeComplianceSeverity GetSeverity(
RtfComplianceViolation violation
)Parameters
- violation RtfComplianceViolation
- The RTF compliance violation.
Return Value
MimeComplianceSeverityThe severity.
Remarks
Gets how much practical harm the violation is likely to cause.
Exceptions
| ArgumentOutOfRangeException | violation is not a valid RtfComplianceViolation. |