XmlSchemaInferenceException Construtores
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Inicializa uma nova instância da XmlSchemaInferenceException classe.
Sobrecargas
| Name | Description |
|---|---|
| XmlSchemaInferenceException() |
Inicializa uma nova instância da XmlSchemaInferenceException classe. |
| XmlSchemaInferenceException(String) |
Inicializa uma nova instância da XmlSchemaInferenceException classe com a mensagem de erro especificada. |
| XmlSchemaInferenceException(SerializationInfo, StreamingContext) |
Obsoleto.
Inicializa uma nova instância da XmlSchemaInferenceException classe com os SerializationInfo objetos e StreamingContext especificados que contêm todas as propriedades do XmlSchemaInferenceException. |
| XmlSchemaInferenceException(String, Exception) |
Inicializa uma nova instância da XmlSchemaInferenceException classe com a mensagem de erro especificada e a original Exception que causou a XmlSchemaInferenceException especificação. |
| XmlSchemaInferenceException(String, Exception, Int32, Int32) |
Inicializa uma nova instância da XmlSchemaInferenceException classe com a mensagem de erro especificada, o original Exception que causou a XmlSchemaInferenceException especificação, e o número da linha e a posição da linha do erro no documento XML especificados. |
XmlSchemaInferenceException()
Inicializa uma nova instância da XmlSchemaInferenceException classe.
public:
XmlSchemaInferenceException();
public XmlSchemaInferenceException();
Public Sub New ()
Aplica-se a
XmlSchemaInferenceException(String)
Inicializa uma nova instância da XmlSchemaInferenceException classe com a mensagem de erro especificada.
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
Uma descrição do erro.
Aplica-se a
XmlSchemaInferenceException(SerializationInfo, StreamingContext)
Atenção
This API supports obsolete formatter-based serialization. It should not be called or extended by application code.
Inicializa uma nova instância da XmlSchemaInferenceException classe com os SerializationInfo objetos e StreamingContext especificados que contêm todas as propriedades do 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
- info
- SerializationInfo
Um objeto SerializationInfo.
- context
- StreamingContext
Um objeto StreamingContext.
- Atributos
Observações
Este construtor é chamado por construtores de classes derivadas para inicializar o estado neste tipo.
Ver também
Aplica-se a
XmlSchemaInferenceException(String, Exception)
Inicializa uma nova instância da XmlSchemaInferenceException classe com a mensagem de erro especificada e a original Exception que causou a XmlSchemaInferenceException especificação.
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
Uma descrição do erro.
- innerException
- Exception
Um Exception objeto contendo a exceção original que causou o XmlSchemaInferenceException.
Aplica-se a
XmlSchemaInferenceException(String, Exception, Int32, Int32)
Inicializa uma nova instância da XmlSchemaInferenceException classe com a mensagem de erro especificada, o original Exception que causou a XmlSchemaInferenceException especificação, e o número da linha e a posição da linha do erro no documento XML especificados.
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
Uma descrição do erro.
- innerException
- Exception
Um Exception objeto contendo a exceção original que causou o XmlSchemaInferenceException.
- lineNumber
- Int32
O número da linha no documento XML que causou o XmlSchemaInferenceException.
- linePosition
- Int32
A posição da linha no documento XML que causou o XmlSchemaInferenceException.