Udostępnij za pośrednictwem


PrintWorkflowJobUISession Class

Definition

Represents a session of the print support workflow UI.

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

Windows requirements

Device family
Windows 11 (introduced in 10.0.22000.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v14.0)

Remarks

To create a print support workflow UI extension, your app must declare a uap4:Extension element with the category windows.printSupportJobUI in its package manifest. When the app is activated, the OnActivated method receives a PrintWorkflowJobActivatedEventArgs object that provides access to information about the print support workflow UI session. The Session property of that object returns a PrintWorkflowJobUISession object.

For more information, see Print support app design guide.

Properties

Status

Gets the status of the current print support workflow UI session.

Methods

Start()

Starts the print workflow job UI service so it can begin raising events.

Events

JobNotification

Raised when a user clicks a job notification toast.

PdlDataAvailable

Raised when the background process invokes the print support workflow UI when modifying page description language (PDL) data.

VirtualPrinterUIDataAvailable

Applies to

See also