Table of Contents

OutlookFormatException Class

Definition

Namespace
Bodu.Formats.Outlook
Assembly
Bodu.Formats.Outlook.dll
Package
Bodu.Formats.Outlook 0.7.1
Source
OutlookFormatException.cs

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 (for example, the .msg reader's OutlookMsgFormatException) 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

message string

The 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

message string

The message that describes the error.

innerException Exception

The exception that caused this error.

Applies to

ProductVersions
.NET8, 10