XmlSchemaInferenceException コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
XmlSchemaInferenceException クラスの新しいインスタンスを初期化します。
オーバーロード
| 名前 | 説明 |
|---|---|
| XmlSchemaInferenceException() |
XmlSchemaInferenceException クラスの新しいインスタンスを初期化します。 |
| XmlSchemaInferenceException(String) |
エラー メッセージを指定して、 XmlSchemaInferenceException クラスの新しいインスタンスを初期化します。 |
| XmlSchemaInferenceException(SerializationInfo, StreamingContext) |
古い.
XmlSchemaInferenceExceptionのすべてのプロパティを含むSerializationInfoオブジェクトとStreamingContext オブジェクトを指定して、XmlSchemaInferenceException クラスの新しいインスタンスを初期化します。 |
| XmlSchemaInferenceException(String, Exception) |
指定されたエラー メッセージと、指定されたXmlSchemaInferenceExceptionの原因となった元のExceptionを使用して、XmlSchemaInferenceException クラスの新しいインスタンスを初期化します。 |
| XmlSchemaInferenceException(String, Exception, Int32, Int32) |
指定されたエラー メッセージ、XmlSchemaInferenceExceptionの原因となった元のException、および指定された XML ドキュメント内のエラーの行番号と行位置を使用して、XmlSchemaInferenceException クラスの新しいインスタンスを初期化します。 |
XmlSchemaInferenceException()
XmlSchemaInferenceException クラスの新しいインスタンスを初期化します。
public:
XmlSchemaInferenceException();
public XmlSchemaInferenceException();
Public Sub New ()
適用対象
XmlSchemaInferenceException(String)
エラー メッセージを指定して、 XmlSchemaInferenceException クラスの新しいインスタンスを初期化します。
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)
パラメーター
- message
- String
エラーの説明。
適用対象
XmlSchemaInferenceException(SerializationInfo, StreamingContext)
注意事項
This API supports obsolete formatter-based serialization. It should not be called or extended by application code.
XmlSchemaInferenceExceptionのすべてのプロパティを含むSerializationInfoオブジェクトとStreamingContext オブジェクトを指定して、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)
パラメーター
- info
- SerializationInfo
SerializationInfo オブジェクト。
- context
- StreamingContext
StreamingContext オブジェクト。
- 属性
注釈
このコンストラクターは、この型の状態を初期化するために派生クラス コンストラクターによって呼び出されます。
こちらもご覧ください
適用対象
XmlSchemaInferenceException(String, Exception)
指定されたエラー メッセージと、指定されたXmlSchemaInferenceExceptionの原因となった元のExceptionを使用して、XmlSchemaInferenceException クラスの新しいインスタンスを初期化します。
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)
パラメーター
- message
- String
エラーの説明。
- innerException
- Exception
Exceptionの原因となった元の例外を含むXmlSchemaInferenceException オブジェクト。
適用対象
XmlSchemaInferenceException(String, Exception, Int32, Int32)
指定されたエラー メッセージ、XmlSchemaInferenceExceptionの原因となった元のException、および指定された XML ドキュメント内のエラーの行番号と行位置を使用して、XmlSchemaInferenceException クラスの新しいインスタンスを初期化します。
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)
パラメーター
- message
- String
エラーの説明。
- innerException
- Exception
Exceptionの原因となった元の例外を含むXmlSchemaInferenceException オブジェクト。
- lineNumber
- Int32
XmlSchemaInferenceExceptionの原因となった XML ドキュメント内の行番号。
- linePosition
- Int32
XmlSchemaInferenceExceptionの原因となった XML ドキュメント内の行位置。