This topic has not yet been rated - Rate this topic

CreationErrorType Enumeration

Returns errors that may occur during the document conversion process.

Namespace:  Microsoft.HtmlTrans
Assembly:  Microsoft.HtmlTrans.Interface (in Microsoft.HtmlTrans.Interface.dll)
public enum CreationErrorType
Member nameDescription
CE_NONEIndicates no error has occurred.
CE_CRASHIndicates the converter has crashed.
CE_HANGIndicates the converter has not responded within the time-out specified in the call to the CHICreateHtmlmethod. Increasing the time-out value might prevent this error.
CE_OTHER_BLOCKLISTIndicates that the converter failed to produce any output.
CE_SERVERFILENOTFOUNDIndicates the IHtmlTrLauncher implementation could not locate the converter.
CE_RESOURCESUNAVAILABLEIndicates there is insufficient memory or other resources to complete the conversion.
CE_SPGETCONTENTFAILEDIndicates the handler page could not retrieve the requested file from Microsoft SharePoint Foundation.
CE_DISKWRITEERRORIndicates a disk write error has occurred.
CE_BADINPUTIndicates the command-line arguments used to start the converter are invalid; for example, the file type is not recognized by the custom converter application.
CE_BACKENDUNAVAILABLEIndicates the objects implementing the IHtmlTrLoadBalancer or IHtmlTrLauncher interface are unavailable.
CE_ALREADYRUNNINGIndicates the specified conversion task is already running.
CE_STARTTIMEOUTIndicates the converter did not begin its task before the specified time-out.
CE_OTHERIndicates an unspecified error has occurred.

The ce property of the CreateHtmlInfo object returned by the CHICreateHtml method of the IHtmlTrLauncher interface returns a value from the CreationErrorType enumeration.

For a code example that demonstrates the use of the IHtmlTrLoadBalancer and IHtmlTrLauncher interfaces, including the CreationErrorType enumeration, see the CHICreateHtml method.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.