PrintSupportSettingsActivatedEventArgs 類別

定義

啟用列印支援設定 UI 延伸模組應用程式,以處理應用程式的啟用參數。

public ref class PrintSupportSettingsActivatedEventArgs sealed : IActivatedEventArgsWithUser
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 851968)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class PrintSupportSettingsActivatedEventArgs final : IActivatedEventArgsWithUser
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 851968)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class PrintSupportSettingsActivatedEventArgs : IActivatedEventArgsWithUser
Public NotInheritable Class PrintSupportSettingsActivatedEventArgs
Implements IActivatedEventArgsWithUser
繼承
Object Platform::Object IInspectable PrintSupportSettingsActivatedEventArgs
屬性
實作

Windows 需求

裝置系列
Windows 11 (已於 10.0.22000.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v14.0 引進)

備註

若要建立列印支援設定 UI 延伸模組,您的應用程式必須在套件資訊清單中宣告具有windows.printSupportSettingsUI類別的uap4:Extension元素。 啟動應用程式時, OnActivated 此方法會收到 PrintSupportSettingsActivatedEventArgs 物件,該物件可讓您存取列印支援 UI 會話的相關資訊。

如需詳細資訊,請參閱 列印支援應用程式設計指南

屬性

Kind

取得值,指定啟用的類型。

OwnerWindowId

啟用列印支援設定 UI 延伸模組應用程式,以處理應用程式的啟用參數。

PreviousExecutionState

取得此啟用之前的應用程式執行狀態。

Session

取得列印支援設定 UI 目前會話的相關資訊。

SplashScreen

取得啟動顯示畫面物件,該物件提供從啟動顯示畫面轉換到啟動之應用程式的相關資訊。

User

取得應用程式已啟用的使用者。

方法

GetDeferral()

要求啟用作業延遲,並取得延遲物件,該物件會在延遲動作完成時叫用。

適用於

另請參閱