Udostępnij za pośrednictwem


PrintWorkflowJobActivatedEventArgs Class

Definition

Enables a print support workflow UI extension app to handle the activation parameters for the app.

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

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

Kind

Gets the reason that this app was activated.

PreviousExecutionState

Gets the execution state of the app before this activation.

Session

Gets the current session of the print support workflow UI.

SplashScreen

Gets the splash screen object that provides information about the transition from the splash screen to the activated app.

User

Gets the user that the app was activated for.

Applies to

See also