共用方式為


PrintWorkflowBackgroundSetupRequestedEventArgs 類別

定義

public ref class PrintWorkflowBackgroundSetupRequestedEventArgs 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 PrintWorkflowBackgroundSetupRequestedEventArgs 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 PrintWorkflowBackgroundSetupRequestedEventArgs
Public NotInheritable Class PrintWorkflowBackgroundSetupRequestedEventArgs
繼承
Object Platform::Object IInspectable PrintWorkflowBackgroundSetupRequestedEventArgs
屬性

Windows 需求

裝置系列
Windows 10 Fall Creators Update (已於 10.0.16299.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v5.0 引進)

屬性

Configuration

取得此列印工作流程會話的來源應用程式、列印工作標題和會話識別碼的相關資訊。

方法

GetDeferral()

取得延遲物件,用於管理對應 PrintWorkflowBackgroundSession.SetupRequested 事件上完成的工作。

GetUserPrintTicketAsync()

取得目前列印工作的列印票證。

SetRequiresUI()

註冊此列印工作流程會話,因為需要 UI。 這會導致 在背景工作引發 PrintWorkflowBackgroundSession.Submitted 事件之前啟動對應的前景工作。

適用於