PrintTaskSourceRequestedArgs class

Applies to Windows only

Arguments associated with the PrintTaskSourceRequestedHandler delegate. Provides a method for handing the content to be printed to the Print Task.

Syntax


/* For information about creating or accessing this object, see Remarks. */

Attributes

[MarshalingBehavior(Agile)]
[Muse()]
[Version(0x06020000)]

Members

The PrintTaskSourceRequestedArgs class has these types of members:

Methods

The PrintTaskSourceRequestedArgs class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.

MethodDescription
GetDeferral Gets a PrintTaskSourceRequestedDeferral object that provides access to a Complete method. This method indicates then the deferral is over.
SetSource Informs the print task of the content to be printed.

 

Properties

The PrintTaskSourceRequestedArgs class has these properties.

PropertyAccess typeDescription

Deadline

Read-onlyGets the DateTime object that indicates the deadline for a print task source request.

 

Remarks

PrintTaskSourceRequestedArgs can, for example, be used to retrieve the deadline for a print task. Here is a JavaScript code snippet that retrieves a print task deadline:


// Get a value for the DateTime object for a print task
var deadline = Windows.Graphics.Printing.PrintTaskSourceRequestedArgs.deadline;


Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

None supported

Namespace

Windows.Graphics.Printing
Windows::Graphics::Printing [C++]

Metadata

Windows.winmd

 

 

Show:
© 2014 Microsoft