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

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

SqlCommand.EndExecuteReader メソッド

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

Transact-SQL ステートメント非同期実行完了し要求された SqlDataReader を返します

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

Public Function EndExecuteReader ( _
    asyncResult As IAsyncResult _
) As SqlDataReader
Dim instance As SqlCommand
Dim asyncResult As IAsyncResult
Dim returnValue As SqlDataReader

returnValue = instance.EndExecuteReader(asyncResult)
public SqlDataReader EndExecuteReader (
    IAsyncResult asyncResult
)
public:
SqlDataReader^ EndExecuteReader (
    IAsyncResult^ asyncResult
)
public SqlDataReader EndExecuteReader (
    IAsyncResult asyncResult
)
public function EndExecuteReader (
    asyncResult : IAsyncResult
) : SqlDataReader

パラメータ

asyncResult

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

戻り値
要求された行取得するための SqlDataReader オブジェクト

例外例外
例外種類条件

ArgumentException

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

InvalidOperationException

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

解説解説
使用例使用例

EndExecuteReader メソッド実際の使用例については、「BeginExecuteReader」を参照してください

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


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

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

辞書ショートカット

すべての辞書の索引

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

   

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



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

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

©2025 GRAS Group, Inc.RSS