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
Class | Description |
---|---|
TnefException | The TnefException class represents an exception thrown when noncompliant Tnef data is encountered. |
TnefReader | The TnefReader class enables you to read properties from a TNEF stream in a forward-only manner. |
TnefWriter | The TnefWriter class produces a TNEF stream by writing attributes and properties. |
Structures
Structure | Description |
---|---|
TnefNameId | The TnefNameId structure encapsulates the name or name ID of a named MAPI property. |
TnefPropertyReader | The TnefPropertyReader class is a nested reader that reads individual properties from a TNEF attribute or a recipient row. |
TnefPropertyTag | The TnefPropertyTag structure contains MAPI attribute property identifiers. |
Enumerations
Enumeration | Description |
---|---|
TnefAttributeLevel | The TnefAttributeLevel enumeration specifies the level of a Tnef Attribute. |
TnefAttributeTag | The TnefAttributeTag enumeration contains values that identify TNEF attributes. |
TnefComplianceMode | The TnefComplianceMode enumeration contains values that control whether a TnefReader object will throw exceptions when it encounters errors in incoming Tnef data. |
TnefComplianceStatus | The TnefComplianceStatus enumeration contains values that specify whether incoming Tnef data is compliant and, if not, what caused the noncompliance. |
TnefNameIdKind | The TnefNameIdKind enumeration contains values indicating how a name is stored in a TnefNameId structure. |
TnefPropertyId | The TnefPropertyId enumeration contains values that represent MAPI properties applied to a Tnef message. |
TnefPropertyType | The TnefPropertyType enumeration contains values that specify TNEF property types. |
TnefWriterFlags | The TnefWriterFlags contains an enumeration value specifying not to overwrite the TnefVersion and OemCodePage attributes in the TNEF stream that this TnefWriter object owns. |