Class
GoogleWorkspaceDiagnosticsExtensions
OfficeIMO.GoogleWorkspace
Helpers that translate reports and export exceptions into structured diagnostic entries.
Inheritance
- object
- GoogleWorkspaceDiagnosticsExtensions
Methods
ToDiagnosticEntries 2 overloads
public static IReadOnlyList<GoogleWorkspaceDiagnosticEntry> ToDiagnosticEntries(TranslationReport report) #Converts every notice in a translation report to a structured diagnostic entry.
Parameters
- report OfficeIMO.GoogleWorkspace.TranslationReport
- Report to convert.
Returns
IReadOnlyList<GoogleWorkspaceDiagnosticEntry> A snapshot preserving notice order and metadata.public static IReadOnlyList<GoogleWorkspaceDiagnosticEntry> ToDiagnosticEntries(GoogleWorkspaceExportException exception) #Converts an export exception and its report to structured diagnostics.
Parameters
- exception OfficeIMO.GoogleWorkspace.GoogleWorkspaceExportException
- Export failure to convert.
Returns
IReadOnlyList<GoogleWorkspaceDiagnosticEntry> A leading export-failure entry followed by the report notices.