Description

Returns an IPNDocConvQueueItemErrors collection of IPNDocConvQueueItemError objects. This collection is empty if no errors occurred during conversion. This collection is automatically cleared each time Convert is called on a new file.

Read-only.

Syntax

expression.Errors

where expression is an IPNDocConvQueueItem object.

Returns an IPNDocConvQueueItemErrors collection.

See Also:

Files Images Jobs Messages Pages

Examples

Code Sample - C#

 

if (item != null)

{

    // Did we have any errors

    PNDocConvQueueServiceLib.IPNDocConvQueueItemErrors errors = item.Errors;

    try

    {

        if (errors.Count > 0)

        {

            // Item had conversion errors

            MessageBox.Show(this, "There were errors during the conversion.");

        }

    }

    finally

    {

        if (errors != null)

        {

            System.Runtime.InteropServices.Marshal.FinalReleaseComObject(errors);

        }

    }

}

 

Code Sample - VB

 

If IsNothing(item) Then

 

    Dim errors As PNDocConvQueueServiceLib.IPNDocConvQueueItemErrors

    errors = Nothing

    errors = item.Errors

 

    Try

        If errors.Count > 0 Then

            ' Item had conversion errors

            MessageBox.Show("There were errors during the conversion.")

        End If

    Finally

        If Not IsNothing(errors) Then

            Marshal.FinalReleaseComObject(errors)

        End If

    End Try

End If