Udostępnij za pośrednictwem


PrintWorkflowSubmittedOperation Class

Definition

Contains information about a print task that has potentially been modified by a print workflow session.

public ref class PrintWorkflowSubmittedOperation sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class PrintWorkflowSubmittedOperation final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class PrintWorkflowSubmittedOperation
Public NotInheritable Class PrintWorkflowSubmittedOperation
Inheritance
Object Platform::Object IInspectable PrintWorkflowSubmittedOperation
Attributes

Windows requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)

Properties

Configuration

Gets information about the source application, print job title, and session ID for this print workflow session.

XpsContent

Gets the source application's original XPS data. This can be edited and then assigned to the print target in order to change the print content.

Methods

Complete(PrintWorkflowSubmittedStatus)

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.

Applies to