Class
GoogleWorkspaceExportException
OfficeIMO.GoogleWorkspace
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.
Returned or exposed by 4
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
- Human-readable failure description.
- failureKind OfficeIMO.GoogleWorkspace.GoogleWorkspaceFailureKind
- High-level failure category.
- report OfficeIMO.GoogleWorkspace.TranslationReport
- Translation report available when the operation failed.
- innerException System.Exception
- Underlying authentication, transport, or API exception.
Inherited Methods
public virtual void GetObjectData(SerializationInfo info, StreamingContext context) #Inherited from Exception
Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}") EditorBrowsable(1)Parameters
- info SerializationInfo
- context StreamingContext
Properties
Inherited Properties
public MethodBase? TargetSite { get; } #Inherited from Exception
public virtual string Message { get; } #Inherited from Exception
public virtual IDictionary Data { get; } #Inherited from Exception
public Exception? InnerException { get; } #Inherited from Exception
public virtual string? HelpLink { get; set; } #Inherited from Exception
public virtual string? Source { get; set; } #Inherited from Exception
public int HResult { get; set; } #Inherited from Exception
public virtual string? StackTrace { get; } #Inherited from Exception
Extension Methods
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.