Udostępnij za pośrednictwem


PrintWorkflowSubmittedOperation.Complete(PrintWorkflowSubmittedStatus) Method

Definition

Indicates the completion of the print workflow session. This method should be called in the handler for the PrintWorkflowBackgroundSession.Submitted event when all work relating to the print task has been completed or when an error occurred that requires the process to be aborted.

public:
 virtual void Complete(PrintWorkflowSubmittedStatus status) = Complete;
void Complete(PrintWorkflowSubmittedStatus const& status);
public void Complete(PrintWorkflowSubmittedStatus status);
function complete(status)
Public Sub Complete (status As PrintWorkflowSubmittedStatus)

Parameters

status
PrintWorkflowSubmittedStatus

Indicates the status of the completed print workflow procedure. This will determine whether the printing pipeline should continue or abort.

Remarks

This method marks the end of the print workflow session and therefore should only be called once.

Applies to