XmlSchemaException Constructores
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Transmite todas las XmlSchemaException propiedades a la SerializationInfo clase para el especificado StreamingContext.
Sobrecargas
| Nombre | Description |
|---|---|
| XmlSchemaException() |
Inicializa una nueva instancia de la clase XmlSchemaException. |
| XmlSchemaException(String) |
Inicializa una nueva instancia de la XmlSchemaException clase con el mensaje de excepción especificado. |
| XmlSchemaException(SerializationInfo, StreamingContext) |
Obsoletos.
Construye un nuevo |
| XmlSchemaException(String, Exception) |
Inicializa una nueva instancia de la XmlSchemaException clase con el mensaje de excepción y el objeto original Exception que provocó esta excepción especificada. |
| XmlSchemaException(String, Exception, Int32, Int32) |
Inicializa una nueva instancia de la XmlSchemaException clase con el mensaje de excepción especificado y el objeto original Exception , el número de línea y la posición de línea del XML que provocan esta excepción especificada. |
XmlSchemaException()
- Source:
- XmlSchemaException.cs
- Source:
- XmlSchemaException.cs
- Source:
- XmlSchemaException.cs
- Source:
- XmlSchemaException.cs
- Source:
- XmlSchemaException.cs
Inicializa una nueva instancia de la clase XmlSchemaException.
public:
XmlSchemaException();
public XmlSchemaException();
Public Sub New ()
Se aplica a
XmlSchemaException(String)
- Source:
- XmlSchemaException.cs
- Source:
- XmlSchemaException.cs
- Source:
- XmlSchemaException.cs
- Source:
- XmlSchemaException.cs
- Source:
- XmlSchemaException.cs
Inicializa una nueva instancia de la XmlSchemaException clase con el mensaje de excepción especificado.
public:
XmlSchemaException(System::String ^ message);
public XmlSchemaException(string? message);
public XmlSchemaException(string message);
new System.Xml.Schema.XmlSchemaException : string -> System.Xml.Schema.XmlSchemaException
Public Sub New (message As String)
Parámetros
- message
- String
Descripción string de la condición de error.
Se aplica a
XmlSchemaException(SerializationInfo, StreamingContext)
- Source:
- XmlSchemaException.cs
- Source:
- XmlSchemaException.cs
- Source:
- XmlSchemaException.cs
- Source:
- XmlSchemaException.cs
- Source:
- XmlSchemaException.cs
Precaución
This API supports obsolete formatter-based serialization. It should not be called or extended by application code.
Construye un nuevo XmlSchemaException objeto con la información y SerializationInfo especificadas StreamingContext que contiene todas las propiedades de .XmlSchemaException
protected:
XmlSchemaException(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 XmlSchemaException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
protected XmlSchemaException(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}")>]
new System.Xml.Schema.XmlSchemaException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Xml.Schema.XmlSchemaException
new System.Xml.Schema.XmlSchemaException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Xml.Schema.XmlSchemaException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parámetros
- info
- SerializationInfo
SerializationInfo.
- context
- StreamingContext
StreamingContext.
- Atributos
Se aplica a
XmlSchemaException(String, Exception)
- Source:
- XmlSchemaException.cs
- Source:
- XmlSchemaException.cs
- Source:
- XmlSchemaException.cs
- Source:
- XmlSchemaException.cs
- Source:
- XmlSchemaException.cs
Inicializa una nueva instancia de la XmlSchemaException clase con el mensaje de excepción y el objeto original Exception que provocó esta excepción especificada.
public:
XmlSchemaException(System::String ^ message, Exception ^ innerException);
public XmlSchemaException(string? message, Exception? innerException);
public XmlSchemaException(string message, Exception innerException);
new System.Xml.Schema.XmlSchemaException : string * Exception -> System.Xml.Schema.XmlSchemaException
Public Sub New (message As String, innerException As Exception)
Parámetros
- message
- String
Descripción string de la condición de error.
Se aplica a
XmlSchemaException(String, Exception, Int32, Int32)
- Source:
- XmlSchemaException.cs
- Source:
- XmlSchemaException.cs
- Source:
- XmlSchemaException.cs
- Source:
- XmlSchemaException.cs
- Source:
- XmlSchemaException.cs
Inicializa una nueva instancia de la XmlSchemaException clase con el mensaje de excepción especificado y el objeto original Exception , el número de línea y la posición de línea del XML que provocan esta excepción especificada.
public:
XmlSchemaException(System::String ^ message, Exception ^ innerException, int lineNumber, int linePosition);
public XmlSchemaException(string? message, Exception? innerException, int lineNumber, int linePosition);
public XmlSchemaException(string message, Exception innerException, int lineNumber, int linePosition);
new System.Xml.Schema.XmlSchemaException : string * Exception * int * int -> System.Xml.Schema.XmlSchemaException
Public Sub New (message As String, innerException As Exception, lineNumber As Integer, linePosition As Integer)
Parámetros
- message
- String
Descripción string de la condición de error.
- lineNumber
- Int32
Número de línea del XML que provocó esta excepción.
- linePosition
- Int32
Posición de línea del XML que provocó esta excepción.