Export (0) Print
Expand All

PrintSystemJobInfo Class

Defines a print job in detail.

Namespace: System.Printing
Assembly: System.Printing (in system.printing.dll)

public class PrintSystemJobInfo : PrintSystemObject
public class PrintSystemJobInfo extends PrintSystemObject
public class PrintSystemJobInfo extends PrintSystemObject
Not applicable.

This class has no public constructor. To get a reference to a PrintSystemJobInfo object, use the static PrintSystemJobInfo.Get; or use PrintQueue.GetJob, PrintQueue.GetPrintJobInfoCollection, PrintQueue.AddJob, or PrintQueue.AddJob(String).

Many print job properties, such as whether a job is completed, must be passed from the printer to the PrintSystemJobInfo object before your application reads the corresponding property (IsCompleted). The Refresh method provides this functionality.

Similarly, when your application changes the value of JobName, the change must be written to the print queue utility on the computer. The Commit method provides this functionality.

If your derive a class from PrintSystemJobInfo that has additional writable properties, then you will need to implement an override of Refresh and Commit.

System.Object
   System.Printing.PrintSystemObject
    System.Printing.PrintSystemJobInfo

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2014 Microsoft