Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

OpmlDiagnostic

Namespace OfficeIMO.Opml
Assembly OfficeIMO.Opml
Modifiers sealed

A stable OPML validation or conversion diagnostic.

Inheritance

  • Object
  • OpmlDiagnostic

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Constructors

OpmlDiagnostic 2 overloads
public OpmlDiagnostic(String code, OpmlDiagnosticSeverity severity, String message, String path = null) #

Creates a diagnostic.

Parameters

code System.String requiredposition: 0
severity OfficeIMO.Opml.OpmlDiagnosticSeverity requiredposition: 1
message System.String requiredposition: 2
path System.String = null optionalposition: 3
public OpmlDiagnostic(String code, OpmlDiagnosticSeverity severity, String message, String path, OfficeConversionLossKind lossKind) #

Creates a diagnostic with an explicit fidelity-loss category.

Parameters

code System.String requiredposition: 0
severity OfficeIMO.Opml.OpmlDiagnosticSeverity requiredposition: 1
message System.String requiredposition: 2
path System.String requiredposition: 3
lossKind OfficeIMO.OfficeConversionLossKind requiredposition: 4

Properties

public String Code { get; } #

Machine-readable code.

public OpmlDiagnosticSeverity Severity { get; } #

Severity.

public String Message { get; } #

Human-readable message.

public String Path { get; } #

Best-effort element path.

public OfficeConversionLossKind LossKind { get; } #

Exact fidelity-loss category represented by this diagnostic.