TnefComplianceIssue(TnefComplianceViolation, Int64) Constructor

Initialize a new instance of the TnefComplianceIssue struct.

Definition

Namespace: MimeKit.Tnef
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public TnefComplianceIssue(
	TnefComplianceViolation violation,
	long streamOffset
)

Parameters

violation  TnefComplianceViolation
The specific TNEF compliance violation that occurred.
streamOffset  Int64
The offset within the stream where the violation was found.

Remarks

Creates a new TnefComplianceIssue for a violation that was detected in the top-level TNEF stream outside of any attribute.

Exceptions

See Also