Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfOperationResult<T>

OfficeIMO.Pdf

Namespace
OfficeIMO.Pdf
Assembly
OfficeIMO.Pdf
Source revision
be6c300e4ab1 with working tree changes
Implements
IOfficeResult<T> IOfficeResult
Modifiers
sealed

Result returned by preflight-gated PDF operations.

Inheritance

  • object
  • PdfOperationResult<T>

Type Parameters

T
Operation value type.

Methods

public T RequireValue() #

Returns the operation value or throws with diagnostics when the operation failed.

Returns

T

Properties

public string OperationName { get; } #

Human-readable operation name.

public PdfPreflightCapability Capability { get; } #

Preflight capability required by the operation.

public PdfDocumentPreflight Preflight { get; } #

Preflight report used before attempting the operation.

public PdfMutationPlan? MutationPlan { get; } #

Mutation plan that selected the execution path, when this was an existing-document mutation.

public bool CanAttempt { get; } #

True when preflight allowed the operation to be attempted.

public bool Succeeded { get; } #

True when the operation completed and produced a value.

public T? Value { get; } #

Operation value when the operation completed.

public IReadOnlyList<string> Diagnostics { get; } #

Human-readable diagnostics explaining a blocked or failed operation.

public Exception? Exception { get; } #

Exception captured from an attempted operation, when available.