TnefException(TnefComplianceViolation, String) Constructor

Initialize a new instance of the TnefException class.

Definition

Namespace: MimeKit.Tnef
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public TnefException(
	TnefComplianceViolation violation,
	string? message
)

Parameters

violation  TnefComplianceViolation
The compliance violation that caused the error.
message  String
The error message.

Remarks

Creates a new TnefException.

See Also