Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

OneNoteFormatException

Namespace OfficeIMO.OneNote
Assembly OfficeIMO.OneNote
Source revision a039964de4cc 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, Int64? offset = null, Exception? innerException = null) #

Creates a format exception.

Parameters

code System.String requiredposition: 0
message System.String requiredposition: 1
offset System.Int64? = null optionalposition: 2
innerException System.Exception? = null optionalposition: 3

Properties

public String Code { get; } #

Stable error identifier.

public Int64? Offset { get; } #

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