XPathException 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 XPathException klasse.
Overloads
| Name | Description |
|---|---|
| XPathException() |
Initialiseert een nieuw exemplaar van de XPathException klasse. |
| XPathException(String) |
Initialiseert een nieuw exemplaar van de XPathException klasse met het opgegeven uitzonderingsbericht. |
| XPathException(SerializationInfo, StreamingContext) |
Verouderd.
Gebruikt de informatie in de SerializationInfo en StreamingContext objecten om een nieuw exemplaar van de XPathException klasse te initialiseren. |
| XPathException(String, Exception) |
Initialiseert een nieuw exemplaar van de XPathException klasse met behulp van het opgegeven uitzonderingsbericht en Exception -object. |
XPathException()
- Bron:
- XPathException.cs
- Bron:
- XPathException.cs
- Bron:
- XPathException.cs
- Bron:
- XPathException.cs
- Bron:
- XPathException.cs
Initialiseert een nieuw exemplaar van de XPathException klasse.
public:
XPathException();
public XPathException();
Public Sub New ()
Van toepassing op
XPathException(String)
- Bron:
- XPathException.cs
- Bron:
- XPathException.cs
- Bron:
- XPathException.cs
- Bron:
- XPathException.cs
- Bron:
- XPathException.cs
Initialiseert een nieuw exemplaar van de XPathException klasse met het opgegeven uitzonderingsbericht.
public:
XPathException(System::String ^ message);
public XPathException(string? message);
public XPathException(string message);
new System.Xml.XPath.XPathException : string -> System.Xml.XPath.XPathException
Public Sub New (message As String)
Parameters
- message
- String
De beschrijving van de foutvoorwaarde.
Van toepassing op
XPathException(SerializationInfo, StreamingContext)
- Bron:
- XPathException.cs
- Bron:
- XPathException.cs
- Bron:
- XPathException.cs
- Bron:
- XPathException.cs
- Bron:
- XPathException.cs
Let op
This API supports obsolete formatter-based serialization. It should not be called or extended by application code.
Gebruikt de informatie in de SerializationInfo en StreamingContext objecten om een nieuw exemplaar van de XPathException klasse te initialiseren.
protected:
XPathException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
[System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
protected XPathException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
protected XPathException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[<System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
new System.Xml.XPath.XPathException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Xml.XPath.XPathException
new System.Xml.XPath.XPathException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Xml.XPath.XPathException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
Het SerializationInfo object dat alle eigenschappen van een XPathException.
- context
- StreamingContext
Het StreamingContext-object.
- Kenmerken
Van toepassing op
XPathException(String, Exception)
- Bron:
- XPathException.cs
- Bron:
- XPathException.cs
- Bron:
- XPathException.cs
- Bron:
- XPathException.cs
- Bron:
- XPathException.cs
Initialiseert een nieuw exemplaar van de XPathException klasse met behulp van het opgegeven uitzonderingsbericht en Exception -object.
public:
XPathException(System::String ^ message, Exception ^ innerException);
public XPathException(string? message, Exception? innerException);
public XPathException(string message, Exception innerException);
new System.Xml.XPath.XPathException : string * Exception -> System.Xml.XPath.XPathException
Public Sub New (message As String, innerException As Exception)
Parameters
- message
- String
De beschrijving van de foutvoorwaarde.
- innerException
- Exception
Die Exception gooide de XPathException, indien van toepassing. Deze waarde kan zijn null.