PrintSupportPrintDeviceCapabilitiesUpdatePolicy Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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. |