共用方式為


PrintSupportPrintDeviceCapabilitiesUpdatePolicy 類別

定義

提供 API,根據經過的時間或指定的列印工作數目,為 PDC (PDC) 設定定期更新原則。

public ref class PrintSupportPrintDeviceCapabilitiesUpdatePolicy sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 983040)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class PrintSupportPrintDeviceCapabilitiesUpdatePolicy final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 983040)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class PrintSupportPrintDeviceCapabilitiesUpdatePolicy
Public NotInheritable Class PrintSupportPrintDeviceCapabilitiesUpdatePolicy
繼承
Object Platform::Object IInspectable PrintSupportPrintDeviceCapabilitiesUpdatePolicy
屬性

Windows 需求

裝置系列
Windows 11 Insider Preview (已於 10.0.23504.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v15.0 引進)

方法

CreatePeriodicRefresh(TimeSpan)

根據時間間隔,設定 PDC (PDC) 的列印裝置功能定期更新原則。

CreatePrintJobRefresh(UInt32)

根據指定的列印工作數目,設定 PDC (PDC) 的列印裝置功能定期更新原則。

適用於