Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

GoogleWorkspaceDiagnosticEntry

Namespace OfficeIMO.GoogleWorkspace
Assembly OfficeIMO.GoogleWorkspace
Source revision c8404474f9f2 with working tree changes
Modifiers sealed

Structured diagnostic entry that callers can forward to their own logging pipeline.

Inheritance

  • Object
  • GoogleWorkspaceDiagnosticEntry

Usage

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

Accepted by parameters 1

Constructors

public GoogleWorkspaceDiagnosticEntry(TranslationSeverity severity, String feature, String message, String path = "", GoogleWorkspaceFailureKind? failureKind = null, String? code = null, TranslationAction action = None, Int32 count = 1, String? targetId = null) #

Creates a normalized structured diagnostic entry.

Parameters

severity OfficeIMO.GoogleWorkspace.TranslationSeverity requiredposition: 0
Impact of the diagnostic.
feature System.String requiredposition: 1
Feature that emitted the diagnostic.
message System.String requiredposition: 2
Human-readable explanation.
path System.String = "" optionalposition: 3
Optional source-object path.
failureKind OfficeIMO.GoogleWorkspace.GoogleWorkspaceFailureKind? = null optionalposition: 4
Related export-failure category, when applicable.
code System.String? = null optionalposition: 5
Stable diagnostic code, or null to derive one from feature.
action OfficeIMO.GoogleWorkspace.TranslationAction = None optionalposition: 6
Target action selected for the feature.
count System.Int32 = 1 optionalposition: 7
Number of equivalent occurrences represented by the entry.
targetId System.String? = null optionalposition: 8
Optional remote target identifier.

Properties

public String Code { get; } #

Gets the stable machine-readable diagnostic code.

public TranslationSeverity Severity { get; } #

Gets the impact of the diagnostic.

public String Feature { get; } #

Gets the feature that emitted the diagnostic.

public String Message { get; } #

Gets the human-readable explanation.

public String Path { get; } #

Gets the source-object path, or an empty string when not applicable.

public GoogleWorkspaceFailureKind? FailureKind { get; } #

Gets the related export-failure category, when applicable.

public TranslationAction Action { get; } #

Gets the target action selected for the feature.

public Int32 Count { get; } #

Gets the number of equivalent occurrences represented by the entry.

public String? TargetId { get; } #

Gets the related remote target identifier, when available.