WaitForRunningDocumentConversionService Method

Description

Waits the specified timeout interval for the Document Conversion Service to be running and waiting for documents to convert. Pass a timeout value of 0 to test if the service is running and immediately return.

Syntax

expression.WaitForRunningDocumentConversionService(Timeout)

where expression is an IPNDocConvQueueItem object.

Returns a Boolean True if the service is running within the specified timeout interval, False if it did not.

Parameters

int Timeout

The length of time, in microseconds, to wait. Passing 0 as the timeout interval will simply test if the service is running and then immediately return. An exception is thrown if the timeout value is passed as INFINITE (-1).

Exceptions

Exception

Condition

COMException

The following errors will cause this exception. The exception message details the cause of the error.

 

The Timeout is INFINITE (-1), an infinite timeout value is not allowed.

See Also:

Contains Get Set Remove Convert WaitForAvailableConverterPlugIn