PrintSupportPrintDeviceCapabilitiesUpdatePolicy 类

定义

提供 API,用于根据运行时间或指定数量的打印作业设置打印设备功能 (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) 的定期更新策略。

CreatePrintJobRefresh(UInt32)

根据指定的打印作业数设置打印设备功能 (PDC) 的定期更新策略。

适用于