Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

CreationErrorType Enumeration

Windows SharePoint Services 3

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 Windows SharePoint Services.
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.

Community Additions

© 2015 Microsoft