PrintTaskConfigurationSaveRequest PrintTaskConfigurationSaveRequest PrintTaskConfigurationSaveRequest PrintTaskConfigurationSaveRequest Class

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

Syntax

Declaration

public sealed class PrintTaskConfigurationSaveRequestpublic sealed class PrintTaskConfigurationSaveRequestPublic NotInheritable Class PrintTaskConfigurationSaveRequestpublic sealed class PrintTaskConfigurationSaveRequest

Remarks

The Windows Store device app uses a PrintTaskConfigurationSaveRequest object to further process the client's request to save the print task configuration.

Properties summary

Gets the date-time object that provides the deadline information for the print task.

Methods summary

Called by the device app to cancel the client's request to save the print task configuration.

Called by the device app when it has to complete some asynchronous tasks before it can save the print task configuration information.

Called by the device app 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 DateTimeOffsetpublic DateTime Deadline { get; }

    Property Value

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 voidpublic void 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 PrintTaskConfigurationSaveRequestedDeferralpublic PrintTaskConfigurationSaveRequestedDeferral GetDeferral()

    Returns

  • Save(Object)
    Save(Object)
    Save(Object)
    Save(Object)

    Called by the device app to save the print task configuration.

    public void Save(Object printerExtensionContext)public void Save(Object printerExtensionContext)Public Function Save(printerExtensionContext As Object) As voidpublic void Save(Object printerExtensionContext)

    Parameters

    • printerExtensionContext
      System.Object
      System.Object
      System.Object
      System.Object

      The object that represents the print task extension context.

Device family

Windows Desktop Extension SDK (introduced v10.0.10240.0)

API contract

Windows.Devices.Printers.Extensions.ExtensionsContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute

Details

Assembly

Windows.Devices.Printers.Extensions.dll