SqlCommand.EndExecuteXmlReader メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > SqlCommand.EndExecuteXmlReader メソッドの意味・解説 

SqlCommand.EndExecuteXmlReader メソッド

メモ : このメソッドは、.NET Framework version 2.0新しく追加されたものです。

Transact-SQL ステートメント非同期実行完了し要求されデータXML として返します

名前空間: System.Data.SqlClient
アセンブリ: System.Data (system.data.dll 内)
構文構文

Public Function EndExecuteXmlReader ( _
    asyncResult As IAsyncResult _
) As XmlReader
Dim instance As SqlCommand
Dim asyncResult As IAsyncResult
Dim returnValue As XmlReader

returnValue = instance.EndExecuteXmlReader(asyncResult)
public XmlReader EndExecuteXmlReader (
    IAsyncResult asyncResult
)
public:
XmlReader^ EndExecuteXmlReader (
    IAsyncResult^ asyncResult
)
public XmlReader EndExecuteXmlReader (
    IAsyncResult asyncResult
)
public function EndExecuteXmlReader (
    asyncResult : IAsyncResult
) : XmlReader

パラメータ

asyncResult

BeginExecuteXmlReader の呼び出し返される IAsyncResult。

戻り値
結果XML データフェッチするときに使用する XmlReader オブジェクト

例外例外
例外種類条件

ArgumentException

asyncResult パラメータnull (Microsoft Visual Basic場合Nothing) です。

InvalidOperationException

単一コマンド実行に対して EndExecuteXmlReader複数呼び出されたか、実行メソッドに対して不適切メソッド呼び出されました (たとえば、BeginExecuteNonQuery の呼び出し実行完了するために、コードEndExecuteXmlReader呼び出した場合)。

解説解説
使用例使用例

EndExecuteXmlReader メソッド実際の使用例については、「BeginExecuteXmlReader」および「BeginExecuteXmlReader」を参照してください

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


このページでは「.NET Framework クラス ライブラリ リファレンス」からSqlCommand.EndExecuteXmlReader メソッドを検索した結果を表示しています。
Weblioに収録されているすべての辞書からSqlCommand.EndExecuteXmlReader メソッドを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からSqlCommand.EndExecuteXmlReader メソッド を検索

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

辞書ショートカット

すべての辞書の索引

SqlCommand.EndExecuteXmlReader メソッドのお隣キーワード
検索ランキング

   

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



SqlCommand.EndExecuteXmlReader メソッドのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2025 GRAS Group, Inc.RSS