Begins an asynchronous Take<(Of <(T>)>)(T, ITransaction, Int64) operation.
Declaration Syntax
C# | Visual Basic | Visual C++ | J# |
IAsyncResult<T> BeginTake<T>( T template, AsyncCallback<T> userCallback, Object stateObject )
Function BeginTake(Of T) ( _ template As T, _ userCallback As AsyncCallback(Of T), _ stateObject As Object _ ) As IAsyncResult(Of T)
generic<typename T> IAsyncResult<T>^ BeginTake( T template, AsyncCallback<T>^ userCallback, Object^ stateObject )
Generic Template Parameters
- T
- Type of object to take.
Parameters
- template (T)
- The template used for matching.
- userCallback (AsyncCallback<(Of <(T>)>))
- The method to be called when the asynchronous operation is complete.
- stateObject (Object)
- A user-provided object that distinguishes this particular asynchronous read request from other requests.
Return Value
An IAsyncResult that references the asynchronous take.