XmlSchemaInferenceException Constructores

Definición

Inicializa una nueva instancia de la clase XmlSchemaInferenceException.

Sobrecargas

Nombre Description
XmlSchemaInferenceException()

Inicializa una nueva instancia de la clase XmlSchemaInferenceException.

XmlSchemaInferenceException(String)

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

XmlSchemaInferenceException(SerializationInfo, StreamingContext)
Obsoletos.

Inicializa una nueva instancia de la XmlSchemaInferenceException clase con los SerializationInfo objetos y StreamingContext especificados que contienen todas las propiedades de XmlSchemaInferenceException.

XmlSchemaInferenceException(String, Exception)

Inicializa una nueva instancia de la XmlSchemaInferenceException clase con el mensaje de error especificado y el original Exception que provocó el XmlSchemaInferenceException especificado.

XmlSchemaInferenceException(String, Exception, Int32, Int32)

Inicializa una nueva instancia de la XmlSchemaInferenceException clase con el mensaje de error especificado, el original Exception que provocó el XmlSchemaInferenceException especificado y el número de línea y la posición de línea del error en el documento XML especificado.

XmlSchemaInferenceException()

Source:
XmlSchemaInferenceException.cs
Source:
XmlSchemaInferenceException.cs
Source:
XmlSchemaInferenceException.cs
Source:
XmlSchemaInferenceException.cs
Source:
XmlSchemaInferenceException.cs

Inicializa una nueva instancia de la clase XmlSchemaInferenceException.

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

Se aplica a

XmlSchemaInferenceException(String)

Source:
XmlSchemaInferenceException.cs
Source:
XmlSchemaInferenceException.cs
Source:
XmlSchemaInferenceException.cs
Source:
XmlSchemaInferenceException.cs
Source:
XmlSchemaInferenceException.cs

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

public:
 XmlSchemaInferenceException(System::String ^ message);
public XmlSchemaInferenceException(string message);
new System.Xml.Schema.XmlSchemaInferenceException : string -> System.Xml.Schema.XmlSchemaInferenceException
Public Sub New (message As String)

Parámetros

message
String

Descripción del error.

Se aplica a

XmlSchemaInferenceException(SerializationInfo, StreamingContext)

Source:
XmlSchemaInferenceException.cs
Source:
XmlSchemaInferenceException.cs
Source:
XmlSchemaInferenceException.cs
Source:
XmlSchemaInferenceException.cs
Source:
XmlSchemaInferenceException.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 XmlSchemaInferenceException clase con los SerializationInfo objetos y StreamingContext especificados que contienen todas las propiedades de XmlSchemaInferenceException.

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

Parámetros

context
StreamingContext

Un objeto StreamingContext.

Atributos

Comentarios

Los constructores de clase derivada llaman a este constructor para inicializar el estado en este tipo.

Consulte también

Se aplica a

XmlSchemaInferenceException(String, Exception)

Source:
XmlSchemaInferenceException.cs
Source:
XmlSchemaInferenceException.cs
Source:
XmlSchemaInferenceException.cs
Source:
XmlSchemaInferenceException.cs
Source:
XmlSchemaInferenceException.cs

Inicializa una nueva instancia de la XmlSchemaInferenceException clase con el mensaje de error especificado y el original Exception que provocó el XmlSchemaInferenceException especificado.

public:
 XmlSchemaInferenceException(System::String ^ message, Exception ^ innerException);
public XmlSchemaInferenceException(string message, Exception? innerException);
public XmlSchemaInferenceException(string message, Exception innerException);
new System.Xml.Schema.XmlSchemaInferenceException : string * Exception -> System.Xml.Schema.XmlSchemaInferenceException
Public Sub New (message As String, innerException As Exception)

Parámetros

message
String

Descripción del error.

innerException
Exception

Objeto Exception que contiene la excepción original que provocó .XmlSchemaInferenceException

Se aplica a

XmlSchemaInferenceException(String, Exception, Int32, Int32)

Source:
XmlSchemaInferenceException.cs
Source:
XmlSchemaInferenceException.cs
Source:
XmlSchemaInferenceException.cs
Source:
XmlSchemaInferenceException.cs
Source:
XmlSchemaInferenceException.cs

Inicializa una nueva instancia de la XmlSchemaInferenceException clase con el mensaje de error especificado, el original Exception que provocó el XmlSchemaInferenceException especificado y el número de línea y la posición de línea del error en el documento XML especificado.

public:
 XmlSchemaInferenceException(System::String ^ message, Exception ^ innerException, int lineNumber, int linePosition);
public XmlSchemaInferenceException(string message, Exception? innerException, int lineNumber, int linePosition);
public XmlSchemaInferenceException(string message, Exception innerException, int lineNumber, int linePosition);
new System.Xml.Schema.XmlSchemaInferenceException : string * Exception * int * int -> System.Xml.Schema.XmlSchemaInferenceException
Public Sub New (message As String, innerException As Exception, lineNumber As Integer, linePosition As Integer)

Parámetros

message
String

Descripción del error.

innerException
Exception

Objeto Exception que contiene la excepción original que provocó .XmlSchemaInferenceException

lineNumber
Int32

Número de línea del documento XML que provocó .XmlSchemaInferenceException

linePosition
Int32

Posición de línea en el documento XML que provocó .XmlSchemaInferenceException

Se aplica a