PstFileFormatException Class
Definition
- Assembly
- Bodu.IO.Pst.dll
- Package
- Bodu.IO.Pst 0.7.1
Represents an error raised when a PST file's structure is malformed or fails validation.
public sealed class PstFileFormatException : PstFileException, ISerializable
- Inheritance
-
PstFileFormatException
- Implements
- Inherited Members
- Extension Methods
Constructors
PstFileFormatException()
Initializes a new instance of the PstFileFormatException class.
public PstFileFormatException()
PstFileFormatException(string?)
Initializes a new instance of the PstFileFormatException class with a message.
public PstFileFormatException(string? message)
Parameters
messagestringThe message that describes the error.
PstFileFormatException(string?, PstFileError)
Initializes a new instance of the PstFileFormatException class with a message and an error category.
public PstFileFormatException(string? message, PstFileError error)
Parameters
messagestringThe message that describes the error.
errorPstFileErrorThe error category.
PstFileFormatException(string?, PstFileError, Exception?)
Initializes a new instance of the PstFileFormatException class with a message, an error category, and the exception that caused it.
public PstFileFormatException(string? message, PstFileError error, Exception? innerException)
Parameters
messagestringThe message that describes the error.
errorPstFileErrorThe category of container defect the exception reports.
innerExceptionExceptionThe exception that is the cause of the current exception.
PstFileFormatException(string?, Exception?)
Initializes a new instance of the PstFileFormatException class with a message and an inner exception.
public PstFileFormatException(string? message, Exception? innerException)
Parameters
Applies to
| Product | Versions |
|---|---|
| .NET | 8, 10 |