VistaDB 5






VistaDB.Provider Namespace > VistaDBCommand Class > ExecuteReaderAsync Method : ExecuteReaderAsync(CancellationToken) Method
ExecuteReaderAsync(CancellationToken) Method
Syntax
'Declaration
 
Public Overloads Function ExecuteReaderAsync( _
   ByVal cancellationToken As System.Threading.CancellationToken _
) As System.Threading.Tasks.Task(Of DbDataReader)
'Usage
 
Dim instance As VistaDBCommand
Dim cancellationToken As System.Threading.CancellationToken
Dim value As System.Threading.Tasks.Task(Of DbDataReader)
 
value = instance.ExecuteReaderAsync(cancellationToken)
public System.Threading.Tasks.Task<DbDataReader> ExecuteReaderAsync( 
   System.Threading.CancellationToken cancellationToken
)
public function ExecuteReaderAsync( 
    cancellationToken: System.Threading.CancellationToken
): System.Threading.Tasks.Task; 
public function ExecuteReaderAsync( 
   cancellationToken : System.Threading.CancellationToken
) : System.Threading.Tasks.Task;
public: System.Threading.Tasks.Task<DbDataReader*>* ExecuteReaderAsync( 
   System.Threading.CancellationToken cancellationToken
) 
public:
System.Threading.Tasks.Task<DbDataReader^>^ ExecuteReaderAsync( 
   System.Threading.CancellationToken cancellationToken
) 

Parameters

cancellationToken
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also