PrintTaskConfigurationSaveRequest PrintTaskConfigurationSaveRequest PrintTaskConfigurationSaveRequest PrintTaskConfigurationSaveRequest Class

Definition

Called when the print dialog for your app raises a SaveRequested event.

public : sealed class PrintTaskConfigurationSaveRequest : IPrintTaskConfigurationSaveRequest
public sealed class PrintTaskConfigurationSaveRequest : IPrintTaskConfigurationSaveRequest
Public NotInheritable Class PrintTaskConfigurationSaveRequest Implements IPrintTaskConfigurationSaveRequest
// This class does not provide a public constructor.
Attributes
Windows 10 requirements
Device family
Windows Desktop Extension SDK (introduced v10.0.10240.0)
API contract
Windows.Devices.Printers.Extensions.ExtensionsContract (introduced v1)

Remarks

The Microsoft 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
var dateTimeOffset = printTaskConfigurationSaveRequest.deadline;
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
printTaskConfigurationSaveRequest.cancel();

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
var printTaskConfigurationSaveRequestedDeferral = printTaskConfigurationSaveRequest.getDeferral();
Returns

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
printTaskConfigurationSaveRequest.save(printerExtensionContext);
Parameters
printerExtensionContext
Platform::Object Object Object Object

The object that represents the print task extension context.