XpsWriterException Costruttori
Definizione
Inizializza una nuova istanza della classe XpsWriterException.Initializes a new instance of the XpsWriterException class.
Overload
XpsWriterException() |
Inizializza una nuova istanza della classe XpsWriterException.Initializes a new instance of the XpsWriterException class. |
XpsWriterException(String) |
Inizializza una nuova istanza della classe XpsWriterException che fornisce una condizione di errore specifica.Initializes a new instance of the XpsWriterException class that provides a specific error condition. |
XpsWriterException(SerializationInfo, StreamingContext) |
Inizializza una nuova istanza della classe XpsWriterException che fornisce oggetti SerializationInfo e StreamingContext specifici.Initializes a new instance of the XpsWriterException class that provides specific SerializationInfo and StreamingContext. Questo costruttore è protetto.This constructor is protected. |
XpsWriterException(String, Exception) |
Inizializza una nuova istanza della classe XpsWriterException che fornisce una specifica condizione di errore e include la causa dell'eccezione.Initializes a new instance of the XpsWriterException class that provides a specific error condition and includes the cause of the exception. |
XpsWriterException()
Inizializza una nuova istanza della classe XpsWriterException.Initializes a new instance of the XpsWriterException class.
public:
XpsWriterException();
public XpsWriterException ();
Public Sub New ()
Si applica a
XpsWriterException(String)
Inizializza una nuova istanza della classe XpsWriterException che fornisce una condizione di errore specifica.Initializes a new instance of the XpsWriterException class that provides a specific error condition.
public:
XpsWriterException(System::String ^ message);
public XpsWriterException (string message);
new System.Windows.Xps.XpsWriterException : string -> System.Windows.Xps.XpsWriterException
Public Sub New (message As String)
Parametri
- message
- String
Oggetto String che descrive la condizione di errore.A String that describes the error condition.
Si applica a
XpsWriterException(SerializationInfo, StreamingContext)
Inizializza una nuova istanza della classe XpsWriterException che fornisce oggetti SerializationInfo e StreamingContext specifici.Initializes a new instance of the XpsWriterException class that provides specific SerializationInfo and StreamingContext. Questo costruttore è protetto.This constructor is protected.
protected:
XpsWriterException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected XpsWriterException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Windows.Xps.XpsWriterException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Windows.Xps.XpsWriterException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parametri
- info
- SerializationInfo
Dati necessari per serializzare o deserializzare un oggetto.The data that is required to serialize or deserialize an object.
- context
- StreamingContext
Il contesto, che include origine e destinazione, del flusso serializzato.The context, which includes source and destination, of the serialized stream.
Si applica a
XpsWriterException(String, Exception)
Inizializza una nuova istanza della classe XpsWriterException che fornisce una specifica condizione di errore e include la causa dell'eccezione.Initializes a new instance of the XpsWriterException class that provides a specific error condition and includes the cause of the exception.
public:
XpsWriterException(System::String ^ message, Exception ^ innerException);
public XpsWriterException (string message, Exception innerException);
new System.Windows.Xps.XpsWriterException : string * Exception -> System.Windows.Xps.XpsWriterException
Public Sub New (message As String, innerException As Exception)
Parametri
- message
- String
Oggetto String che descrive la condizione di errore.A String that describes the error condition.
- innerException
- Exception
Errore sottostante che ha dato origine all'oggetto XpsWriterException.The underlying error that caused the XpsWriterException.