Name
InvalidPrinterException
Synopsis
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
Get .NET Windows Forms in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.