Finishes asynchronous execution of a Transact-SQL statement, returning the requested SqlDataReader.
Assembly: System.Data (in System.Data.dll)
asyncResult parameter is null (Nothing in Microsoft Visual Basic)
was called more than once for a single command execution, or the method was mismatched against its execution method (for example, the code called to complete execution of a call to BeginExecuteXmlReader.
When you call BeginExecuteReader to execute a Transact-SQL statement, you must call in order to complete the operation. If the process of executing the command has not yet finished, this method blocks until the operation is complete. Users can verify that the command has completed its operation by using the IAsyncResult instance returned by the BeginExecuteReader method. If a callback procedure was specified in the call to BeginExecuteReader, this method must be called.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.