Microsoft.Exchange.Data.ContentTypes.Tnef Namespace

The Microsoft.Exchange.Data.ContentTypes.Tnef namespace contains types that enable you to read and write TNEF data.

Many of the properties and parameters in the content conversion APIs allow values large enough to cause performance problems, including denial of service. When using the content conversion APIs in a transport agent, you should implement limits on the property and parameter value sizes you support when reading or writing in order to mitigate resource consumption by your agent.

Classes

ClassDescription
TnefExceptionThe TnefException class represents an exception thrown when noncompliant Tnef data is encountered.
TnefReaderThe TnefReader class enables you to read properties from a TNEF stream in a forward-only manner.
TnefWriterThe TnefWriter class produces a TNEF stream by writing attributes and properties.
Structures

StructureDescription
TnefNameIdThe TnefNameId structure encapsulates the name or name ID of a named MAPI property.
TnefPropertyReaderThe TnefPropertyReader class is a nested reader that reads individual properties from a TNEF attribute or a recipient row.
TnefPropertyTagThe TnefPropertyTag structure contains MAPI attribute property identifiers.
Enumerations

EnumerationDescription
TnefAttributeLevelThe TnefAttributeLevel enumeration specifies the level of a Tnef Attribute.
TnefAttributeTagThe TnefAttributeTag enumeration contains values that identify TNEF attributes.
TnefComplianceModeThe TnefComplianceMode enumeration contains values that control whether a TnefReader object will throw exceptions when it encounters errors in incoming Tnef data.
TnefComplianceStatusThe TnefComplianceStatus enumeration contains values that specify whether incoming Tnef data is compliant and, if not, what caused the noncompliance.
TnefNameIdKindThe TnefNameIdKind enumeration contains values indicating how a name is stored in a TnefNameId structure.
TnefPropertyIdThe TnefPropertyId enumeration contains values that represent MAPI properties applied to a Tnef message.
TnefPropertyTypeThe TnefPropertyType enumeration contains values that specify TNEF property types.
TnefWriterFlagsThe TnefWriterFlags contains an enumeration value specifying not to overwrite the TnefVersion and OemCodePage attributes in the TNEF stream that this TnefWriter object owns.
Page view tracker