PrintSupportPrintDeviceCapabilitiesUpdatePolicy Class

Definition

Provides APIs for setting the periodic update policy for the Print Device Capabilities (PDC) based on elapsed time or a specified number of print jobs.

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
Inheritance
Object Platform::Object IInspectable PrintSupportPrintDeviceCapabilitiesUpdatePolicy
Attributes

Windows requirements

Device family
Windows 11 Insider Preview (introduced in 10.0.23504.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v15.0)

Methods

CreatePeriodicRefresh(TimeSpan)

Sets the periodic update policy for the Print Device Capabilities (PDC) based on a time interval.

CreatePrintJobRefresh(UInt32)

Sets the periodic update policy for the Print Device Capabilities (PDC) based on the specified number of print jobs.

Applies to