XPathNavigatorException 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 XPathNavigatorException class.
Overloads
XPathNavigatorException() |
Initializes a new instance of the XPathNavigatorException class. |
XPathNavigatorException(String) |
Initializes a new instance of the XPathNavigatorException class with a specified error message. |
XPathNavigatorException(SerializationInfo, StreamingContext) |
Initializes a new instance of the XPathNavigatorException class with data that specifies the source and destination of the stream and the information required to serialize the exception. |
XPathNavigatorException(String, Exception) |
Initializes a new instance of the XPathNavigatorException class with a specified error message and the inner exception that caused the current exception. |
XPathNavigatorException()
Initializes a new instance of the XPathNavigatorException class.
public:
XPathNavigatorException();
public XPathNavigatorException ();
Public Sub New ()
Applies to
XPathNavigatorException(String)
Initializes a new instance of the XPathNavigatorException class with a specified error message.
public:
XPathNavigatorException(System::String ^ message);
public XPathNavigatorException (string message);
new System.ServiceModel.Dispatcher.XPathNavigatorException : string -> System.ServiceModel.Dispatcher.XPathNavigatorException
Public Sub New (message As String)
Parameters
- message
- String
The error message that explains the reason for the exception.
Applies to
XPathNavigatorException(SerializationInfo, StreamingContext)
Initializes a new instance of the XPathNavigatorException class with data that specifies the source and destination of the stream and the information required to serialize the exception.
protected:
XPathNavigatorException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected XPathNavigatorException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.ServiceModel.Dispatcher.XPathNavigatorException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.ServiceModel.Dispatcher.XPathNavigatorException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
The SerializationInfo that contains all the data required to serialize the exception.
- context
- StreamingContext
The StreamingContext that specifies the source and destination of the stream.
Applies to
XPathNavigatorException(String, Exception)
Initializes a new instance of the XPathNavigatorException class with a specified error message and the inner exception that caused the current exception.
public:
XPathNavigatorException(System::String ^ message, Exception ^ innerException);
public XPathNavigatorException (string message, Exception innerException);
new System.ServiceModel.Dispatcher.XPathNavigatorException : string * Exception -> System.ServiceModel.Dispatcher.XPathNavigatorException
Public Sub New (message As String, innerException As Exception)
Parameters
- message
- String
The error message that explains the reason for the exception.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om