VistaDB 5






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

Parameters

behavior
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