Description
Waits until the converter has been loaded by the Document Conversion Service or the time-out interval elapses.
Syntax
expression.WaitFOrAvailableConverterPlugIn(ConverterPlugInName, Timeout)
where expression is an IPNDocConvQueueItem object.
Returns a Boolean True if the converter was loaded within the specified timeout interval, False if it did not.
Parameters
String ConverterPlugInName
The name of the converter.
int Timeout
The length if time, in microseconds, to wait. Passing 0 as the timeout interval will simply test if the converter is loaded 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.
•ConverterPlugInName string is null or empty •The Timeout is INFINITE (-1), an infinite timeout value is not allowed. |
Exceptions
Exception |
Condition |
ArgumentNullException |
Converter name is null or empty |
See Also:
Contains Get Set Remove Convert WaitForRunningDocumentConversionService