XpsException Constructors
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Initialiseert een nieuw exemplaar van de XpsException klasse.
Overloads
| Name | Description |
|---|---|
| XpsException() |
Initialiseert een nieuw exemplaar van de XpsException klasse. |
| XpsException(String) |
Initialiseert een nieuw exemplaar van de XpsException klasse die een specifieke foutvoorwaarde biedt. |
| XpsException(SerializationInfo, StreamingContext) |
Initialiseert een nieuw exemplaar van de XpsException klasse die specifiek SerializationInfo en StreamingContext. Deze constructor is beveiligd. |
| XpsException(String, Exception) |
Initialiseert een nieuw exemplaar van de XpsException klasse die een specifieke foutvoorwaarde biedt en bevat de oorzaak van de uitzondering. |
XpsException()
Initialiseert een nieuw exemplaar van de XpsException klasse.
public:
XpsException();
public XpsException();
Public Sub New ()
Van toepassing op
XpsException(String)
Initialiseert een nieuw exemplaar van de XpsException klasse die een specifieke foutvoorwaarde biedt.
public:
XpsException(System::String ^ message);
public XpsException(string message);
new System.Windows.Xps.XpsException : string -> System.Windows.Xps.XpsException
Public Sub New (message As String)
Parameters
Van toepassing op
XpsException(SerializationInfo, StreamingContext)
Initialiseert een nieuw exemplaar van de XpsException klasse die specifiek SerializationInfo en StreamingContext. Deze constructor is beveiligd.
protected:
XpsException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected XpsException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Windows.Xps.XpsException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Windows.Xps.XpsException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
De gegevens die nodig zijn om een object te serialiseren of deserialiseren.
- context
- StreamingContext
De context, die bron en bestemming bevat, van de geserialiseerde stroom.
Van toepassing op
XpsException(String, Exception)
Initialiseert een nieuw exemplaar van de XpsException klasse die een specifieke foutvoorwaarde biedt en bevat de oorzaak van de uitzondering.
public:
XpsException(System::String ^ message, Exception ^ innerException);
public XpsException(string message, Exception innerException);
new System.Windows.Xps.XpsException : string * Exception -> System.Windows.Xps.XpsException
Public Sub New (message As String, innerException As Exception)
Parameters
- innerException
- Exception
De onderliggende fout waardoor de XpsException.
Opmerkingen
Als de parameter innerException niet is null (Nothing in Visual Basic), wordt de huidige uitzondering gegenereerd in een catch blok dat de binnenste uitzondering verwerkt.