XmlSchemaInferenceException Konstruktorok
Definíció
Fontos
Egyes információk olyan, kiadás előtti termékekre vonatkoznak, amelyek a kiadásig még jelentősen módosulhatnak. A Microsoft nem vállal kifejezett vagy törvényi garanciát az itt megjelenő információért.
Inicializálja a XmlSchemaInferenceException osztály új példányát.
Túlterhelések
| Name | Description |
|---|---|
| XmlSchemaInferenceException() |
Inicializálja a XmlSchemaInferenceException osztály új példányát. |
| XmlSchemaInferenceException(String) |
Inicializálja az osztály új példányát XmlSchemaInferenceException a megadott hibaüzenettel. |
| XmlSchemaInferenceException(SerializationInfo, StreamingContext) |
Elavult.
Inicializálja az XmlSchemaInferenceException osztály új példányát a SerializationInfo megadott és StreamingContext az összes tulajdonságot XmlSchemaInferenceExceptiontartalmazó objektummal. |
| XmlSchemaInferenceException(String, Exception) |
Inicializálja az XmlSchemaInferenceException osztály új példányát a megadott hibaüzenettel és a megadott hibát okozó Exception eredetivelXmlSchemaInferenceException. |
| XmlSchemaInferenceException(String, Exception, Int32, Int32) |
Inicializálja az XmlSchemaInferenceException osztály új példányát a megadott hibaüzenettel, a megadott eredetivel ExceptionXmlSchemaInferenceException , valamint a megadott XML-dokumentumban a hiba sorszámával és sorhelyzetével. |
XmlSchemaInferenceException()
Inicializálja a XmlSchemaInferenceException osztály új példányát.
public:
XmlSchemaInferenceException();
public XmlSchemaInferenceException();
Public Sub New ()
A következőre érvényes:
XmlSchemaInferenceException(String)
Inicializálja az osztály új példányát XmlSchemaInferenceException a megadott hibaüzenettel.
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)
Paraméterek
- message
- String
A hiba leírása.
A következőre érvényes:
XmlSchemaInferenceException(SerializationInfo, StreamingContext)
Figyelemfelhívás
This API supports obsolete formatter-based serialization. It should not be called or extended by application code.
Inicializálja az XmlSchemaInferenceException osztály új példányát a SerializationInfo megadott és StreamingContext az összes tulajdonságot XmlSchemaInferenceExceptiontartalmazó objektummal.
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)
Paraméterek
- info
- SerializationInfo
Egy SerializationInfo objektum.
- context
- StreamingContext
Egy StreamingContext objektum.
- Attribútumok
Megjegyzések
Ezt a konstruktort származtatott osztálykonstruktorok hívják meg az állapot inicializálásához ebben a típusban.
Lásd még
A következőre érvényes:
XmlSchemaInferenceException(String, Exception)
Inicializálja az XmlSchemaInferenceException osztály új példányát a megadott hibaüzenettel és a megadott hibát okozó Exception eredetivelXmlSchemaInferenceException.
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)
Paraméterek
- message
- String
A hiba leírása.
- innerException
- Exception
Az Exception eredeti kivételt tartalmazó objektum, amely a XmlSchemaInferenceExceptionhibát okozta.
A következőre érvényes:
XmlSchemaInferenceException(String, Exception, Int32, Int32)
Inicializálja az XmlSchemaInferenceException osztály új példányát a megadott hibaüzenettel, a megadott eredetivel ExceptionXmlSchemaInferenceException , valamint a megadott XML-dokumentumban a hiba sorszámával és sorhelyzetével.
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)
Paraméterek
- message
- String
A hiba leírása.
- innerException
- Exception
Az Exception eredeti kivételt tartalmazó objektum, amely a XmlSchemaInferenceExceptionhibát okozta.
- lineNumber
- Int32
Az XML-dokumentum azon sorszáma, amely a XmlSchemaInferenceException.
- linePosition
- Int32
A sor pozíciója az XML-dokumentumban, amely a XmlSchemaInferenceException.