API Reference

Class

OneNoteFormatException

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

Creates a format exception.

Parameters

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

Properties

public String Code { get; } #

Stable error identifier.

public Nullable<Int64> Offset { get; } #

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