PrintQueue.Purge Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Removes all the jobs in the print queue.

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

abstract Purge : unit -> unit
override Purge : unit -> unit

Exception Condition

Some print jobs could not be removed from the queue.

.NET Framework
Available since 3.0
Return to top