Class
PdfOperationResult<T>
OfficeIMO.Pdf
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
TInherited Methods
Properties
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 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.