Partager via


CreationErrorType Enumeration

The CreationErrorType enumeration returns errors that may occur during the document conversion process.

Remarks

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

Members

The following table shows the members of the CreationErrorType enumeration and a brief description of each.

Name Description
CE_ALREADYRUNNING The specified conversion task is already running.
CE_BACKENDUNAVAILABLE The objects implementing the IHtmlTrLoadBalancer or IHtmlTrLauncher interface are unavailable.
CE_BADINPUT 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_CRASH The converter has crashed.
CE_DISKWRITEERROR A disk write error has occurred.
CE_HANG The converter has not responded within the time-out specified in the call to the CHICreateHtml method. Increasing the time-out value might prevent this error.
CE_NONE No error has occurred.
CE_OTHER An unspecified error has occurred.
CE_OTHER_BLACKLIST Similar to CE_OTHER, but indicates a type of error that should count against the list of files or sites to ignore. The files or sites in this list are ones that repeatedly hang or crash, and the document conversion service will ignore requests for those files or sites in the future.
CE_RESOURCESUNAVAILABLE There is insufficient memory or other resources to complete the conversion.
CE_SERVERFILENOTFOUND The IHtmlTrLauncher implementation could not locate the converter.
CE_SPGETCONTENTFAILED The handler page could not retrieve the requested file from Microsoft Windows SharePoint Services.
CE_STARTTIMEOUT The converter did not begin its task before the specified time-out.

Example

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

Requirements

Namespace: Microsoft.HtmlTrans.Interface

Platforms: Microsoft Windows Server 2003

Assembly: Microsoft HtmlTrans Interface (in Microsoft.HtmlTrans.Interface.dll)

Security: Code Access Security