Sdílet prostřednictvím


XsltCompileException Konstruktory

Definice

Inicializuje novou instanci XsltCompileException třídy .

Přetížení

XsltCompileException()

Inicializuje novou instanci XsltCompileException třídy .

XsltCompileException(String)

Inicializuje novou instanci XsltCompileException třídy se zadanou chybovou zprávou.

XsltCompileException(SerializationInfo, StreamingContext)
Zastaralé.

Inicializuje novou instanci XsltCompileException třídy pomocí informací v objektech SerializationInfo a StreamingContext .

XsltCompileException(String, Exception)

Inicializuje novou instanci XsltCompileException třídy zadané chybové zprávy a odkaz na vnitřní výjimku, která je příčinou této výjimky.

XsltCompileException(Exception, String, Int32, Int32)

Inicializuje novou instanci XsltCompileException třídy .

XsltCompileException()

Source:
XsltException.cs
Source:
XsltException.cs
Source:
XsltException.cs

Inicializuje novou instanci XsltCompileException třídy .

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

Platí pro

XsltCompileException(String)

Source:
XsltException.cs
Source:
XsltException.cs
Source:
XsltException.cs

Inicializuje novou instanci XsltCompileException třídy se zadanou chybovou zprávou.

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

Zpráva popisující chybu

Platí pro

XsltCompileException(SerializationInfo, StreamingContext)

Source:
XsltException.cs
Source:
XsltException.cs
Source:
XsltException.cs

Upozornění

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

Inicializuje novou instanci XsltCompileException třídy pomocí informací v objektech SerializationInfo a 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

Objekt SerializationInfo obsahující všechny vlastnosti objektu XsltCompileException.

context
StreamingContext

Objekt StreamingContext obsahující kontextové informace.

Atributy

Platí pro

XsltCompileException(String, Exception)

Source:
XsltException.cs
Source:
XsltException.cs
Source:
XsltException.cs

Inicializuje novou instanci XsltCompileException třídy zadané chybové zprávy a odkaz na vnitřní výjimku, která je příčinou této výjimky.

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

Zpráva popisující chybu

innerException
Exception

Výjimka, která je příčinou aktuální výjimky, nebo null pokud není zadána žádná vnitřní výjimka.

Platí pro

XsltCompileException(Exception, String, Int32, Int32)

Source:
XsltException.cs
Source:
XsltException.cs
Source:
XsltException.cs

Inicializuje novou instanci XsltCompileException třídy .

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

TenException, který hodil .XsltCompileException

sourceUri
String

Cesta umístění šablony stylů.

lineNumber
Int32

Číslo řádku označující, kde v šabloně stylů došlo k chybě.

linePosition
Int32

Pozice čáry označující, kde v šabloně stylů došlo k chybě.

Platí pro