OnConversionFailed
Leave feedback
On this page
Registers a callback to be invoked when a page conversion fails. Re-invoking replaces any previously set handler.
public IConversionByPageHandlersStage OnConversionFailed(
Action<ConvertedPageContext, Exception> onFailed)
| Parameter | Type | Description |
|---|---|---|
| onFailed | Action`2 | An action to handle the failure, receiving the converted page context and the exception that caused the failure. |
This stage, so additional handlers or Convert / Compress may be chained.
- class ConvertedPageContext
- interface IConversionByPageHandlersStage
- namespace GroupDocs.Conversion.Fluent
- assembly GroupDocs.Conversion
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.