Tnef Compliance Issue(Tnef Compliance Violation, Int 64, Int 32, Tnef Attribute Tag, Tnef Property Tag) Constructor
Initialize a new instance of the TnefComplianceIssue struct.
Definition
Namespace: MimeKit.Tnef
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public TnefComplianceIssue(
TnefComplianceViolation violation,
long streamOffset,
int depth,
TnefAttributeTag attributeTag,
TnefPropertyTag propertyTag
)Parameters
- violation TnefComplianceViolation
- The specific TNEF compliance violation that occurred.
- streamOffset Int64
- The offset within the stream where the violation was found.
- depth Int32
- The nesting depth of the embedded message that the violation was found in, or 0 for the top-level message.
- attributeTag TnefAttributeTag
- The attribute that was being read when the violation was found, or Null if the violation was not found within an attribute.
- propertyTag TnefPropertyTag
- The property that was being read when the violation was found, or Null if the violation was not found within a property.
Remarks
Creates a new TnefComplianceIssue.
Exceptions
| ArgumentOutOfRangeException |
violation is not a valid TnefComplianceViolation. -or- depth is negative. |