OutlookFormatException Class
Definition
- Assembly
- Bodu.Formats.Outlook.dll
- Package
- Bodu.Formats.Outlook 1.3.0
Represents an error raised when Outlook-format content is structurally invalid or cannot be decoded.
public class OutlookFormatException : FormatException, ISerializable
- Inheritance
-
OutlookFormatException
- Implements
- Derived
- Inherited Members
- Extension Methods
Remarks
This is the base exception of the Outlook format readers; format-specific packages derive from it (the .msg
reader's OutlookMsgFormatException and the .pst reader's OutlookPstFormatException), and each
reader wraps the faults of its container in its own exception, so consumers can catch the family with a single
handler.
Constructors
OutlookFormatException()
Initializes a new instance of the OutlookFormatException class.
public OutlookFormatException()
OutlookFormatException(string?)
Initializes a new instance of the OutlookFormatException class with a message.
public OutlookFormatException(string? message)
Parameters
messagestringThe message that describes the error.
OutlookFormatException(string?, Exception?)
Initializes a new instance of the OutlookFormatException class with a message and an inner exception.
public OutlookFormatException(string? message, Exception? innerException)
Parameters
Applies to
| Product | Versions |
|---|---|
| .NET | 8, 10 |