TnefException members

The TnefException class represents an exception thrown when noncompliant Tnef data is encountered.

The TnefException type exposes the following members.

Constructors

  Name Description
Public method TnefException(String) The TnefException constructor creates a new TnefException object with a message specified by the message parameter.
Protected method TnefException(SerializationInfo, StreamingContext) The TnefException constructor creates a new serializable TnefException object.
Public method TnefException(String, Exception) The TnefException constructor creates a new outer TnefException object from an inner exception.

Top

Properties

  Name Description
Public property ErrorCode The ErrorCode property gets or sets the error code for this LocalizedException object. (Inherited from LocalizedException.)
Public property FormatProvider The FormatProvider property gets or sets the FormatProvider that this LocalizedException object uses to format its error message. (Inherited from LocalizedException.)
Public property LocalizedString The LocalizedString property gets the localized error message for this LocalizedException object. (Inherited from LocalizedException.)
Public property Message The Message property gets the non-localized error message for this LocalizedException object. (Inherited from LocalizedException.)
Public property StringFormatParameters (Inherited from LocalizedException.)
Public property StringId (Inherited from LocalizedException.)

Top

Methods

  Name Description
Public method GetObjectData The GetObjectData method is called when this LocalizedException object is serialized. (Inherited from LocalizedException.)

Top

See also

Reference

TnefException class

Microsoft.Exchange.Data.ContentTypes.Tnef namespace