Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

GoogleWorkspaceExportException

Namespace OfficeIMO.GoogleWorkspace
Assembly OfficeIMO.GoogleWorkspace
Source revision c8404474f9f2 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 System.String requiredposition: 0
Human-readable failure description.
failureKind OfficeIMO.GoogleWorkspace.GoogleWorkspaceFailureKind requiredposition: 1
High-level failure category.
report OfficeIMO.GoogleWorkspace.TranslationReport requiredposition: 2
Translation report available when the operation failed.
innerException System.Exception requiredposition: 3
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) #
Returns: IReadOnlyList<GoogleWorkspaceDiagnosticEntry>

Converts an export exception and its report to structured diagnostics.

Parameters

exception OfficeIMO.GoogleWorkspace.GoogleWorkspaceExportException requiredposition: 0
Export failure to convert.

Returns

A leading export-failure entry followed by the report notices.