Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

LegacyDocImportDiagnostic

OfficeIMO.Word.LegacyDoc.Diagnostics

Namespace
OfficeIMO.Word.LegacyDoc.Diagnostics
Assembly
OfficeIMO.Word
Source revision
e96266e685be with working tree changes
Modifiers
sealed

Diagnostic produced while importing a legacy binary Word document.

Inheritance

  • object
  • LegacyDocImportDiagnostic

Usage

Explore 1 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.

Returned or exposed by 1

Constructors

public LegacyDocImportDiagnostic(string code, LegacyDocDiagnosticSeverity severity, string message) #

Initializes a new legacy DOC import diagnostic.

Parameters

code string required
Stable diagnostic code.
severity OfficeIMO.Word.LegacyDoc.Diagnostics.LegacyDocDiagnosticSeverity required
Diagnostic severity.
message string required
Human-readable diagnostic message.

Methods

public override string ToString() #

Formats the diagnostic as a compact code/severity/message string.

Returns

string Formatted diagnostic text.

Properties

public string Code { get; } #

Gets the stable diagnostic code.

public LegacyDocDiagnosticSeverity Severity { get; } #

Gets diagnostic severity.

public string Message { get; } #

Gets human-readable diagnostic text.