Compartir a través de


XsltException Constructores

Definición

Inicializa una nueva instancia de la clase XsltException.

Sobrecargas

XsltException()

Inicializa una nueva instancia de la clase XsltException.

XsltException(String)

Inicializa una nueva instancia de la clase XsltException con el mensaje de error especificado.

XsltException(SerializationInfo, StreamingContext)
Obsoletos.

Inicializa una nueva instancia de la clase XsltException utilizando la información de los objetos SerializationInfo y StreamingContext.

XsltException(String, Exception)

Inicializa una nueva instancia de la clase XsltException.

XsltException()

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

Inicializa una nueva instancia de la clase XsltException.

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

Se aplica a

XsltException(String)

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

Inicializa una nueva instancia de la clase XsltException con el mensaje de error especificado.

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)

Parámetros

message
String

Mensaje que describe el error.

Se aplica a

XsltException(SerializationInfo, StreamingContext)

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

Precaución

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

Inicializa una nueva instancia de la clase XsltException utilizando la información de los objetos SerializationInfo y 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)

Parámetros

info
SerializationInfo

Objeto SerializationInfo que contiene todas las propiedades de una XsltException.

context
StreamingContext

Objeto StreamingContext.

Atributos

Se aplica a

XsltException(String, Exception)

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

Inicializa una nueva instancia de la clase 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)

Parámetros

message
String

Descripción de la condición de error.

innerException
Exception

Exception que ha producido la excepción XsltException, si la hay. Este valor puede ser null.

Se aplica a