Class
OfficeDiagnostic
OfficeIMO
An immutable finding with a stable code and optional source location and format.
Inheritance
- object
- OfficeDiagnostic
Usage
Explore 7 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 5
- Property OfficeImageExportReport.Diagnostics
- Property OfficeImageMetadataReport.Diagnostics
- Property OfficeCompatibilityReport.Diagnostics
- Property OfficeConversionReport.Diagnostics
- Property OfficeLegacyImportReport.Diagnostics
Accepted by parameters 2
Constructors
public OfficeDiagnostic(string code, OfficeDiagnosticSeverity severity, string message, string? location = null, string? format = null, OfficeConversionLossKind lossKind = None) #Creates a finding. Set lossKind explicitly for approximation, omission or unassessed content; warnings alone do not imply loss.
Parameters
- code string
- severity OfficeIMO.OfficeDiagnosticSeverity
- message string
- location string? = null
- format string? = null
- lossKind OfficeIMO.OfficeConversionLossKind = None
Inherited Methods
Properties
public string Code { get; } #Gets a stable catalog code, or an extension code supplied by a caller.
public OfficeDiagnosticSeverity Severity { get; } #Gets severity independently of fidelity loss.
public string? Location { get; } #Gets a source part, page, sheet, span or other source location.
public string? Format { get; } #Gets the format or conversion stage that emitted the finding.
public OfficeConversionLossKind LossKind { get; } #Gets the fidelity impact, including loss that does not raise warning severity.