OnConversionFailed
IConversionByPageHandlerFailed.OnConversionFailed method
Registers a callback to be invoked when a page conversion fails.
public IConversionConvertOrCompress 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. |
Return Value
Interface to continue conversion building, allowing only Convert/Compress.
See Also
- interface IConversionConvertOrCompress
- class ConvertedPageContext
- interface IConversionByPageHandlerFailed
- namespace GroupDocs.Conversion.Fluent
- assembly GroupDocs.Conversion