Επεξεργασία

Κοινή χρήση μέσω


XmlSchemaInferenceException Constructors

Definition

Initializes a new instance of the XmlSchemaInferenceException class.

Overloads

XmlSchemaInferenceException()

Initializes a new instance of the XmlSchemaInferenceException class.

XmlSchemaInferenceException(String)

Initializes a new instance of the XmlSchemaInferenceException class with the error message specified.

XmlSchemaInferenceException(SerializationInfo, StreamingContext)
Obsolete.

Initializes a new instance of the XmlSchemaInferenceException class with the SerializationInfo and StreamingContext objects specified that contain all the properties of the XmlSchemaInferenceException.

XmlSchemaInferenceException(String, Exception)

Initializes a new instance of the XmlSchemaInferenceException class with the error message specified and the original Exception that caused the XmlSchemaInferenceException specified.

XmlSchemaInferenceException(String, Exception, Int32, Int32)

Initializes a new instance of the XmlSchemaInferenceException class with the error message specified, the original Exception that caused the XmlSchemaInferenceException specified, and the line number and line position of the error in the XML document specified.

XmlSchemaInferenceException()

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

Initializes a new instance of the XmlSchemaInferenceException class.

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

Applies to

XmlSchemaInferenceException(String)

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

Initializes a new instance of the XmlSchemaInferenceException class with the error message specified.

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)

Parameters

message
String

A description of the error.

Applies to

XmlSchemaInferenceException(SerializationInfo, StreamingContext)

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

Caution

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

Initializes a new instance of the XmlSchemaInferenceException class with the SerializationInfo and StreamingContext objects specified that contain all the properties of the XmlSchemaInferenceException.

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

Parameters

Attributes

Remarks

This constructor is called by derived class constructors to initialize state in this type.

See also

Applies to

XmlSchemaInferenceException(String, Exception)

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

Initializes a new instance of the XmlSchemaInferenceException class with the error message specified and the original Exception that caused the XmlSchemaInferenceException specified.

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)

Parameters

message
String

A description of the error.

innerException
Exception

An Exception object containing the original exception that caused the XmlSchemaInferenceException.

Applies to

XmlSchemaInferenceException(String, Exception, Int32, Int32)

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

Initializes a new instance of the XmlSchemaInferenceException class with the error message specified, the original Exception that caused the XmlSchemaInferenceException specified, and the line number and line position of the error in the XML document specified.

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)

Parameters

message
String

A description of the error.

innerException
Exception

An Exception object containing the original exception that caused the XmlSchemaInferenceException.

lineNumber
Int32

The line number in the XML document that caused the XmlSchemaInferenceException.

linePosition
Int32

The line position in the XML document that caused the XmlSchemaInferenceException.

Applies to