XsltException Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy XsltException.

Przeciążenia

XsltException()

Inicjuje nowe wystąpienie klasy XsltException.

XsltException(String)

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

XsltException(SerializationInfo, StreamingContext)
Przestarzałe.

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

XsltException(String, Exception)

Inicjuje nowe wystąpienie klasy XsltException.

XsltException()

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

Inicjuje nowe wystąpienie klasy XsltException.

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

Dotyczy

XsltException(String)

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

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

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)

Parametry

message
String

Komunikat z opisem błędu.

Dotyczy

XsltException(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 XsltException nowe wystąpienie klasy przy użyciu informacji w SerializationInfo obiektach i StreamingContext .

protected:
 XsltException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected XsltException (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 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
[<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.XsltException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Xml.Xsl.XsltException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parametry

info
SerializationInfo

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

context
StreamingContext

Obiekt StreamingContext.

Atrybuty

Dotyczy

XsltException(String, Exception)

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

Inicjuje nowe wystąpienie klasy XsltException.

public:
 XsltException(System::String ^ message, Exception ^ innerException);
public XsltException (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)

Parametry

message
String

Opis warunku błędu.

innerException
Exception

Wartość Exception , która w ogóle zwróciła wartość XsltException, jeśli istnieje. Ta wartość może mieć wartość null.

Dotyczy