Partilhar via


ConversionJob.Cancel Method

Cancels a conversion job in progress.

Namespace:  Microsoft.Office.Word.Server.Conversions
Assembly:  Microsoft.Office.Word.Server (in Microsoft.Office.Word.Server.dll)

Syntax

'Declaration
Public Sub Cancel
'Usage
Dim instance As ConversionJob

instance.Cancel()
public void Cancel()

Remarks

When this method is executed, any conversion jobs in NotStarted or InProgress status are moved to Canceled status, and the status of the ConversionJob object is set such that it cannot be used to start any new conversions. Any conversions currently in progress complete as normal.

See Also

Reference

ConversionJob Class

ConversionJob Members

Microsoft.Office.Word.Server.Conversions Namespace