PrintTaskConfigurationSaveRequest
PrintTaskConfigurationSaveRequest
PrintTaskConfigurationSaveRequest
PrintTaskConfigurationSaveRequest
Class
Definition
Called when the print dialog for your app raises a SaveRequested event.
public : sealed class PrintTaskConfigurationSaveRequest : IPrintTaskConfigurationSaveRequestpublic sealed class PrintTaskConfigurationSaveRequest : IPrintTaskConfigurationSaveRequestPublic NotInheritable Class PrintTaskConfigurationSaveRequest Implements IPrintTaskConfigurationSaveRequest// You can use this class in JavaScript.
- Attributes
| Device family |
Windows Desktop Extension SDK (introduced v10.0.10240.0)
|
| API contract |
Windows.Devices.Printers.Extensions.ExtensionsContract (introduced v1)
|
Remarks
The Windows Store device app uses a PrintTaskConfigurationSaveRequest object to further process the client's request to save the print task configuration.
Properties
Deadline Deadline Deadline Deadline
Gets the date-time object that provides the deadline information for the print task.
public : DateTime Deadline { get; }public DateTimeOffset Deadline { get; }Public ReadOnly Property Deadline As DateTimeOffset// You can use this property in JavaScript.
- Value
- DateTime DateTimeOffset DateTimeOffset DateTimeOffset
The deadline for the print task.
Methods
Cancel() Cancel() Cancel() Cancel()
Called by the device app to cancel the client's request to save the print task configuration.
public : void Cancel()public void Cancel()Public Function Cancel() As void// You can use this method in JavaScript.
GetDeferral() GetDeferral() GetDeferral() GetDeferral()
Called by the device app when it has to complete some asynchronous tasks before it can save the print task configuration information.
public : PrintTaskConfigurationSaveRequestedDeferral GetDeferral()public PrintTaskConfigurationSaveRequestedDeferral GetDeferral()Public Function GetDeferral() As PrintTaskConfigurationSaveRequestedDeferral// You can use this method in JavaScript.
The object that represents the deferral for the print task configuration save request.
Save(Object) Save(Object) Save(Object) Save(Object)
Called by the device app to save the print task configuration.
public : void Save(PlatForm::Object printerExtensionContext)public void Save(Object printerExtensionContext)Public Function Save(printerExtensionContext As Object) As void// You can use this method in JavaScript.
- printerExtensionContext
- PlatForm::Object Object Object Object
The object that represents the print task extension context.