VistaDB 5






VistaDB.Provider Namespace > VistaDBDataReader Class > ReadAsync Method : ReadAsync(CancellationToken) Method
ReadAsync(CancellationToken) Method
Syntax
'Declaration
 
Public Overloads Function ReadAsync( _
   ByVal cancellationToken As System.Threading.CancellationToken _
) As System.Threading.Tasks.Task(Of Boolean)
'Usage
 
Dim instance As VistaDBDataReader
Dim cancellationToken As System.Threading.CancellationToken
Dim value As System.Threading.Tasks.Task(Of Boolean)
 
value = instance.ReadAsync(cancellationToken)
public System.Threading.Tasks.Task<bool> ReadAsync( 
   System.Threading.CancellationToken cancellationToken
)
public function ReadAsync( 
    cancellationToken: System.Threading.CancellationToken
): System.Threading.Tasks.Task; 
public function ReadAsync( 
   cancellationToken : System.Threading.CancellationToken
) : System.Threading.Tasks.Task;
public: System.Threading.Tasks.Task<bool>* ReadAsync( 
   System.Threading.CancellationToken cancellationToken
) 
public:
System.Threading.Tasks.Task<bool>^ ReadAsync( 
   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