Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

DocBookDiagnostic

OfficeIMO.DocBook

Namespace
OfficeIMO.DocBook
Assembly
OfficeIMO.DocBook
Source revision
ba882f6b0d07 with working tree changes
Modifiers
sealed

Stable validation or conversion diagnostic.

Inheritance

  • object
  • DocBookDiagnostic

Usage

Explore 2 API references to this type

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

Constructors

DocBookDiagnostic 2 overloads
public DocBookDiagnostic(string code, DocBookDiagnosticSeverity severity, string message, string? path = null) #

Creates a diagnostic.

Parameters

code string required
severity OfficeIMO.DocBook.DocBookDiagnosticSeverity required
message string required
path string? = null optional
public DocBookDiagnostic(string code, DocBookDiagnosticSeverity severity, string message, string? path, OfficeConversionLossKind lossKind) #

Creates a diagnostic with an explicit fidelity-loss category.

Parameters

code string required
severity OfficeIMO.DocBook.DocBookDiagnosticSeverity required
message string required
path string? required
lossKind OfficeIMO.OfficeConversionLossKind required

Properties

public string Code { get; } #

Machine-readable code.

public DocBookDiagnosticSeverity Severity { get; } #

Severity.

public string Message { get; } #

Message.

public string? Path { get; } #

Best-effort element path.

public OfficeConversionLossKind LossKind { get; } #

Exact fidelity-loss category represented by this diagnostic.