PrintDialogException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the PrintDialogException class.
Overloads
PrintDialogException() |
Initializes a new instance of the PrintDialogException class. |
PrintDialogException(String) |
Initializes a new instance of the PrintDialogException class that provides a specific error condition in a String . |
PrintDialogException(SerializationInfo, StreamingContext) |
Initializes a new instance of the PrintDialogException class that provides specific SerializationInfo and StreamingContext. This constructor is protected. |
PrintDialogException(String, Exception) |
Initializes a new instance of the PrintDialogException class that provides a specific error condition, including its underlying cause. |
PrintDialogException()
Initializes a new instance of the PrintDialogException class.
public:
PrintDialogException();
public PrintDialogException ();
Public Sub New ()
Applies to
PrintDialogException(String)
Initializes a new instance of the PrintDialogException class that provides a specific error condition in a String .
public:
PrintDialogException(System::String ^ message);
public PrintDialogException (string message);
new System.Windows.Controls.PrintDialogException : string -> System.Windows.Controls.PrintDialogException
Public Sub New (message As String)
Parameters
Applies to
PrintDialogException(SerializationInfo, StreamingContext)
Initializes a new instance of the PrintDialogException class that provides specific SerializationInfo and StreamingContext. This constructor is protected.
protected:
PrintDialogException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected PrintDialogException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Windows.Controls.PrintDialogException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Windows.Controls.PrintDialogException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
The data that is required to serialize or deserialize an object.
- context
- StreamingContext
The context, including source and destination, of the serialized stream.
Applies to
PrintDialogException(String, Exception)
Initializes a new instance of the PrintDialogException class that provides a specific error condition, including its underlying cause.
public:
PrintDialogException(System::String ^ message, Exception ^ innerException);
public PrintDialogException (string message, Exception innerException);
new System.Windows.Controls.PrintDialogException : string * Exception -> System.Windows.Controls.PrintDialogException
Public Sub New (message As String, innerException As Exception)
Parameters
- innerException
- Exception
The underlying error condition that caused the PrintDialogException.
Applies to
.NET