Mime Compliance IssueGet Severity(Mime Compliance Context) Method
Get the severity of the MIME compliance violation in a particular context.
Definition
Namespace: MimeKit
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 MimeComplianceSeverity GetSeverity(
MimeComplianceContext context
)Parameters
- context MimeComplianceContext
- The context that the message is being used in.
Return Value
MimeComplianceSeverityThe severity.
Remarks
Gets how much practical harm the violation is likely to cause when the message is used in
the specified context. Use this instead of Severity to rate the violation
for a different context than the one that the issue was reported for.
Exceptions
| ArgumentOutOfRangeException | context is not a valid MimeComplianceContext. |