PrintWorkflowForegroundSetupRequestedEventArgs 类

定义

包含有关引发的 PrintWorkflowForegroundSession.SetupRequested 事件的信息。

public ref class PrintWorkflowForegroundSetupRequestedEventArgs 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 PrintWorkflowForegroundSetupRequestedEventArgs 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 PrintWorkflowForegroundSetupRequestedEventArgs
Public NotInheritable Class PrintWorkflowForegroundSetupRequestedEventArgs
继承
Object Platform::Object IInspectable PrintWorkflowForegroundSetupRequestedEventArgs
属性

Windows 要求

设备系列
Windows 10 Fall Creators Update (在 10.0.16299.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v5.0 中引入)

属性

Configuration

获取有关此打印工作流会话的源应用程序、打印作业标题和会话 ID 的信息。

方法

GetDeferral()

获取一个延迟对象,用于管理在相应的 PrintWorkflowForegroundSession.SetupRequested 事件上完成的工作。

GetUserPrintTicketAsync()

获取当前打印任务的打印票证。

适用于