XsltCompileException Constructors
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 XsltCompileException
class.
XsltCompileException() |
Initializes a new instance of the XsltCompileException class. |
XsltCompileException(String) |
Initializes a new instance of the XsltCompileException class with a specified error message. |
XsltCompileException(SerializationInfo, StreamingContext) |
Obsolete.
Initializes a new instance of the |
XsltCompileException(String, Exception) |
Initializes a new instance of the XsltCompileException class specified error message and a reference to the inner exception that is the cause of this exception. |
XsltCompileException(Exception, String, Int32, Int32) |
Initializes a new instance of the |
- Source:
- XsltException.cs
- Source:
- XsltException.cs
- Source:
- XsltException.cs
Initializes a new instance of the XsltCompileException class.
public:
XsltCompileException();
public XsltCompileException ();
Public Sub New ()
Applies to
.NET 9 och andra versioner
Produkt | Versioner |
---|---|
.NET | Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
- Source:
- XsltException.cs
- Source:
- XsltException.cs
- Source:
- XsltException.cs
Initializes a new instance of the XsltCompileException class with a specified error message.
public:
XsltCompileException(System::String ^ message);
public XsltCompileException (string message);
new System.Xml.Xsl.XsltCompileException : string -> System.Xml.Xsl.XsltCompileException
Public Sub New (message As String)
Parameters
- message
- String
The message that describes the error.
Applies to
.NET 9 och andra versioner
Produkt | Versioner |
---|---|
.NET | Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
- Source:
- XsltException.cs
- Source:
- XsltException.cs
- Source:
- XsltException.cs
Caution
This API supports obsolete formatter-based serialization. It should not be called or extended by application code.
Initializes a new instance of the XsltCompileException
class using the information in the SerializationInfo and StreamingContext objects.
protected:
XsltCompileException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected XsltCompileException (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 XsltCompileException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Xml.Xsl.XsltCompileException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Xml.Xsl.XsltCompileException
[<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.Xsl.XsltCompileException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Xml.Xsl.XsltCompileException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
The SerializationInfo
object containing all the properties of an XsltCompileException
.
- context
- StreamingContext
The StreamingContext
object containing the context information.
- Attributes
Applies to
.NET 9 och andra versioner
Produkt | Versioner (Föråldrad) |
---|---|
.NET | Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7 (8, 9) |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
- Source:
- XsltException.cs
- Source:
- XsltException.cs
- Source:
- XsltException.cs
Initializes a new instance of the XsltCompileException class specified error message and a reference to the inner exception that is the cause of this exception.
public:
XsltCompileException(System::String ^ message, Exception ^ innerException);
public XsltCompileException (string message, Exception innerException);
new System.Xml.Xsl.XsltCompileException : string * Exception -> System.Xml.Xsl.XsltCompileException
Public Sub New (message As String, innerException As Exception)
Parameters
- message
- String
The message that describes the error.
- innerException
- Exception
The exception that is the cause of the current exception, or null
if no inner exception is specified.
Applies to
.NET 9 och andra versioner
Produkt | Versioner |
---|---|
.NET | Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
- Source:
- XsltException.cs
- Source:
- XsltException.cs
- Source:
- XsltException.cs
Initializes a new instance of the XsltCompileException
class.
public:
XsltCompileException(Exception ^ inner, System::String ^ sourceUri, int lineNumber, int linePosition);
public XsltCompileException (Exception inner, string sourceUri, int lineNumber, int linePosition);
new System.Xml.Xsl.XsltCompileException : Exception * string * int * int -> System.Xml.Xsl.XsltCompileException
Public Sub New (inner As Exception, sourceUri As String, lineNumber As Integer, linePosition As Integer)
Parameters
- sourceUri
- String
The location path of the style sheet.
- lineNumber
- Int32
The line number indicating where the error occurred in the style sheet.
- linePosition
- Int32
The line position indicating where the error occurred in the style sheet.
Applies to
.NET 9 och andra versioner
Produkt | Versioner |
---|---|
.NET | Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
Feedback om .NET
.NET är ett öppen källkod projekt. Välj en länk för att ge feedback: