Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

GoogleWorkspaceExportException

OfficeIMO.GoogleWorkspace

Namespace
OfficeIMO.GoogleWorkspace
Assembly
OfficeIMO.GoogleWorkspace
Source revision
be6c300e4ab1 with working tree changes
Base
Exception
Implements
ISerializable
Modifiers
sealed

Export failure that preserves the translation report collected before the operation failed.

Inheritance

  • Exception
  • GoogleWorkspaceExportException

Usage

Explore 6 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 2

Constructors

public GoogleWorkspaceExportException(string message, GoogleWorkspaceFailureKind failureKind, TranslationReport report, Exception innerException) #

Creates an export failure with its structured category and accumulated translation report.

Parameters

message string required
Human-readable failure description.
failureKind OfficeIMO.GoogleWorkspace.GoogleWorkspaceFailureKind required
High-level failure category.
report OfficeIMO.GoogleWorkspace.TranslationReport required
Translation report available when the operation failed.
innerException System.Exception required
Underlying authentication, transport, or API exception.

Properties

public GoogleWorkspaceFailureKind FailureKind { get; } #

Gets the high-level failure category.

public TranslationReport Report { get; } #

Gets the translation report available when the operation failed.

Extension Methods

public static IReadOnlyList<GoogleWorkspaceDiagnosticEntry> ToDiagnosticEntries(GoogleWorkspaceExportException exception) #

Converts an export exception and its report to structured diagnostics.

Parameters

exception OfficeIMO.GoogleWorkspace.GoogleWorkspaceExportException required
Export failure to convert.

Returns

IReadOnlyList<GoogleWorkspaceDiagnosticEntry> A leading export-failure entry followed by the report notices.