Click or drag to resize
MimeKit

TnefException Class

A TNEF exception.
Inheritance Hierarchy
SystemObject
  SystemException
    SystemSystemException
      SystemFormatException
        MimeKit.TnefTnefException

Namespace: MimeKit.Tnef
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
[SerializableAttribute]
public class TnefException : FormatException

The TnefException type exposes the following members.

Constructors
 NameDescription
Protected methodTnefException(SerializationInfo, StreamingContext)Obsolete.
Initialize a new instance of the TnefException class.
Public methodTnefException(TnefComplianceStatus, String) Initialize a new instance of the TnefException class.
Public methodTnefException(TnefComplianceStatus, String, Exception) Initialize a new instance of the TnefException class.
Top
Properties
 NameDescription
Public propertyData
(Inherited from Exception)
Public propertyError Get the error.
Public propertyHelpLink
(Inherited from Exception)
Public propertyHResult
(Inherited from Exception)
Public propertyInnerException
(Inherited from Exception)
Public propertyMessage
(Inherited from Exception)
Public propertySource
(Inherited from Exception)
Public propertyStackTrace
(Inherited from Exception)
Public propertyTargetSite
(Inherited from Exception)
Top
Methods
 NameDescription
Public methodEquals
(Inherited from Object)
Protected methodFinalize
(Inherited from Object)
Public methodGetBaseException
(Inherited from Exception)
Public methodGetHashCode
(Inherited from Object)
Public methodGetObjectData When overridden in a derived class, sets the SerializationInfo with information about the exception.
(Overrides ExceptionGetObjectData(SerializationInfo, StreamingContext))
Public methodGetType
(Inherited from Exception)
Protected methodMemberwiseClone
(Inherited from Object)
Public methodToString
(Inherited from Exception)
Top
Events
 NameDescription
Protected eventSerializeObjectState
(Inherited from Exception)
Top
Remarks
A TnefException occurs when when a TNEF stream is found to be corrupted and cannot be read any futher.
See Also