XsltException 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 XsltException class.
Overloads
| Name | Description |
|---|---|
| XsltException() |
Initializes a new instance of the XsltException class. |
| XsltException(String) |
Initializes a new instance of the XsltException class with a specified error message. |
| XsltException(SerializationInfo, StreamingContext) |
Initializes a new instance of the |
| XsltException(String, Exception) |
Initializes a new instance of the |
XsltException()
Initializes a new instance of the XsltException class.
public:
XsltException();
public XsltException();
Public Sub New ()
Applies to
XsltException(String)
Initializes a new instance of the XsltException class with a specified error message.
public:
XsltException(System::String ^ message);
public XsltException(string message);
new System.Xml.Xsl.XsltException : string -> System.Xml.Xsl.XsltException
Public Sub New (message As String)
Parameters
- message
- String
The message that describes the error.
Applies to
XsltException(SerializationInfo, StreamingContext)
Initializes a new instance of the XsltException class using the information in the SerializationInfo and StreamingContext objects.
protected:
XsltException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected XsltException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Xml.Xsl.XsltException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Xml.Xsl.XsltException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
The SerializationInfo object containing all the properties of an XsltException.
- context
- StreamingContext
The StreamingContext object.
Applies to
XsltException(String, Exception)
Initializes a new instance of the XsltException class.
public:
XsltException(System::String ^ message, Exception ^ innerException);
public XsltException(string message, Exception innerException);
new System.Xml.Xsl.XsltException : string * Exception -> System.Xml.Xsl.XsltException
Public Sub New (message As String, innerException As Exception)
Parameters
- message
- String
The description of the error condition.
- innerException
- Exception
The Exception that threw the XsltException, if any. This value can be null.