XsltCompileException Constructors

Definition

Initializes a new instance of the XsltCompileException class.

Overloads

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)

Initializes a new instance of the XsltCompileException class using the information in the SerializationInfo and StreamingContext objects.

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 XsltCompileException class.

XsltCompileException()

Initializes a new instance of the XsltCompileException class.

public:
 XsltCompileException();
public XsltCompileException ();
Public Sub New ()

XsltCompileException(String)

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.

XsltCompileException(SerializationInfo, StreamingContext)

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);
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.

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.

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.

XsltCompileException(Exception, String, Int32, Int32)

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

inner
Exception

The Exception that threw the XsltCompileException.

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