Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OneNoteFormatException

OfficeIMO.OneNote

Namespace
OfficeIMO.OneNote
Assembly
OfficeIMO.OneNote
Source revision
be6c300e4ab1 with working tree changes
Base
IOException
Implements
ISerializable
Modifiers
sealed

Exception raised when OneNote binary data violates a required format or safety invariant.

Inheritance

  • IOException
  • OneNoteFormatException

Constructors

public OneNoteFormatException(string code, string message, long? offset = null, Exception? innerException = null) #

Creates a format exception.

Parameters

code string required
message string required
offset long? = null optional
innerException System.Exception? = null optional

Properties

public string Code { get; } #

Stable error identifier.

public long? Offset { get; } #

Optional zero-based byte offset where the failure was detected.