DekGenius.com
[ Team LiB ] Previous Section Next Section

InvalidPrinterException

System.Drawing.Printing (system.drawing.dll)class

This exception is thrown by a number of classes and methods in the printing framework to indicate that the printer or PrinterSettings were in some way invalid or unusable. Commonly, this is because the specified printer doesn't exist.

public class InvalidPrinterException : SystemException {
// Public Constructors
   public InvalidPrinterException(PrinterSettings settings);
// Protected Constructors
   protected InvalidPrinterException(System.Runtime.Serialization.SerializationInfo info, 
        System.Runtime.Serialization.StreamingContext context);
// Public Instance Methods
   public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, 
        System.Runtime.Serialization.StreamingContext context);  // overrides Exception
}

Hierarchy

System.Object System.Exception(System.Runtime.Serialization.ISerializable) System.SystemException InvalidPrinterException

    [ Team LiB ] Previous Section Next Section