XsltCompileException Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy XsltCompileException.

Przeciążenia

XsltCompileException()

Inicjuje nowe wystąpienie klasy XsltCompileException.

XsltCompileException(String)

Inicjuje XsltCompileException nowe wystąpienie klasy z określonym komunikatem o błędzie.

XsltCompileException(SerializationInfo, StreamingContext)
Przestarzałe.

Inicjuje XsltCompileException nowe wystąpienie klasy przy użyciu informacji w SerializationInfo obiektach i StreamingContext .

XsltCompileException(String, Exception)

Inicjuje nowe wystąpienie określonego komunikatu XsltCompileException o błędzie klasy i odwołanie do wewnętrznego wyjątku, który jest przyczyną tego wyjątku.

XsltCompileException(Exception, String, Int32, Int32)

Inicjuje nowe wystąpienie klasy XsltCompileException.

XsltCompileException()

Źródło:
XsltException.cs
Źródło:
XsltException.cs
Źródło:
XsltException.cs

Inicjuje nowe wystąpienie klasy XsltCompileException.

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

Dotyczy

XsltCompileException(String)

Źródło:
XsltException.cs
Źródło:
XsltException.cs
Źródło:
XsltException.cs

Inicjuje XsltCompileException nowe wystąpienie klasy z określonym komunikatem o błędzie.

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)

Parametry

message
String

Komunikat z opisem błędu.

Dotyczy

XsltCompileException(SerializationInfo, StreamingContext)

Źródło:
XsltException.cs
Źródło:
XsltException.cs
Źródło:
XsltException.cs

Przestroga

This API supports obsolete formatter-based serialization. It should not be called or extended by application code.

Inicjuje XsltCompileException nowe wystąpienie klasy przy użyciu informacji w SerializationInfo obiektach i StreamingContext .

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)

Parametry

info
SerializationInfo

SerializationInfo Obiekt zawierający wszystkie właściwości obiektu XsltCompileException.

context
StreamingContext

StreamingContext Obiekt zawierający informacje kontekstowe.

Atrybuty

Dotyczy

XsltCompileException(String, Exception)

Źródło:
XsltException.cs
Źródło:
XsltException.cs
Źródło:
XsltException.cs

Inicjuje nowe wystąpienie określonego komunikatu XsltCompileException o błędzie klasy i odwołanie do wewnętrznego wyjątku, który jest przyczyną tego wyjątku.

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)

Parametry

message
String

Komunikat z opisem błędu.

innerException
Exception

Wyjątek, który jest przyczyną bieżącego wyjątku lub null jeśli nie określono wyjątku wewnętrznego.

Dotyczy

XsltCompileException(Exception, String, Int32, Int32)

Źródło:
XsltException.cs
Źródło:
XsltException.cs
Źródło:
XsltException.cs

Inicjuje nowe wystąpienie klasy XsltCompileException.

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)

Parametry

inner
Exception

To Exception rzuciło XsltCompileException.

sourceUri
String

Ścieżka lokalizacji arkusza stylów.

lineNumber
Int32

Numer wiersza wskazujący, gdzie wystąpił błąd w arkuszu stylów.

linePosition
Int32

Położenie wiersza wskazujące miejsce wystąpienia błędu w arkuszu stylów.

Dotyczy