XmlException コンストラクタ ()とは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > XmlException コンストラクタ ()の意味・解説 

XmlException コンストラクタ ()


XmlException コンストラクタ (String, Exception)

XmlException クラス新しインスタンス初期化します。

名前空間: System.Xml
アセンブリ: System.Xml (system.xml.dll 内)
構文構文

Public Sub New ( _
    message As String, _
    innerException As Exception _
)
Dim message As String
Dim innerException As Exception

Dim instance As New XmlException(message,
 innerException)
public XmlException (
    string message,
    Exception innerException
)
public:
XmlException (
    String^ message, 
    Exception^ innerException
)
public XmlException (
    String message, 
    Exception innerException
)
public function XmlException (
    message : String, 
    innerException : Exception
)

パラメータ

message

エラー状態の説明

innerException

XmlExceptionスローした Exception (存在する場合)。この値は、null 参照 (Visual Basic では Nothing) の場合あります

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照

XmlException コンストラクタ (String)


XmlException コンストラクタ (SerializationInfo, StreamingContext)

SerializationInfo オブジェクトおよび StreamingContext オブジェクト情報使用してXmlException クラス新しインスタンス初期化します。

名前空間: System.Xml
アセンブリ: System.Xml (system.xml.dll 内)
構文構文

Protected Sub New ( _
    info As SerializationInfo, _
    context As StreamingContext _
)
Dim info As SerializationInfo
Dim context As StreamingContext

Dim instance As New XmlException(info,
 context)
protected XmlException (
    SerializationInfo info,
    StreamingContext context
)
protected:
XmlException (
    SerializationInfo^ info, 
    StreamingContext context
)
protected XmlException (
    SerializationInfo info, 
    StreamingContext context
)
protected function XmlException (
    info : SerializationInfo, 
    context : StreamingContext
)

パラメータ

info

XmlExceptionすべてのプロパティ格納している SerializationInfo オブジェクト

context

コンテキスト情報格納している StreamingContext オブジェクト

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照

XmlException コンストラクタ (String, Exception, Int32, Int32)

指定したメッセージ内部例外行番号、行の位置使用してXmlException クラス新しインスタンス初期化します。

名前空間: System.Xml
アセンブリ: System.Xml (system.xml.dll 内)
構文構文

Public Sub New ( _
    message As String, _
    innerException As Exception, _
    lineNumber As Integer, _
    linePosition As Integer _
)
Dim message As String
Dim innerException As Exception
Dim lineNumber As Integer
Dim linePosition As Integer

Dim instance As New XmlException(message,
 innerException, lineNumber, linePosition)
public XmlException (
    string message,
    Exception innerException,
    int lineNumber,
    int linePosition
)
public:
XmlException (
    String^ message, 
    Exception^ innerException, 
    int lineNumber, 
    int linePosition
)
public XmlException (
    String message, 
    Exception innerException, 
    int lineNumber, 
    int linePosition
)
public function XmlException (
    message : String, 
    innerException : Exception, 
    lineNumber : int, 
    linePosition : int
)

パラメータ

message

エラー説明

innerException

現在の例外の原因である例外。この値は、null 参照 (Visual Basic では Nothing) の場合あります

lineNumber

エラー発生場所を示す行番号

linePosition

エラー発生場所を示す行の位置

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照

XmlException コンストラクタ




英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「XmlException コンストラクタ ()」の関連用語

XmlException コンストラクタ ()のお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



XmlException コンストラクタ ()のページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS