AsyncEnumerator<T> Constructor (AsyncResultCallback<T>, Object, Func<AsyncEnumerator<T>, IEnumerator<Int32>>)
Namespace: Microsoft.Exchange.Common
Assembly: Microsoft.Exchange.Common (in Microsoft.Exchange.Common.dll)
Syntax
'Declaration
Public Sub New ( _
callback As AsyncResultCallback(Of T), _
asyncState As Object, _
enumeratorCallback As Func(Of AsyncEnumerator(Of T), IEnumerator(Of Integer)) _
)
'Usage
Dim callback As AsyncResultCallback(Of T)
Dim asyncState As Object
Dim enumeratorCallback As Func(Of AsyncEnumerator(Of T), IEnumerator(Of Integer))
Dim instance As New AsyncEnumerator(callback, _
asyncState, enumeratorCallback)
public AsyncEnumerator(
AsyncResultCallback<T> callback,
Object asyncState,
Func<AsyncEnumerator<T>, IEnumerator<int>> enumeratorCallback
)
Parameters
- callback
Type: Microsoft.Exchange.Common.AsyncResultCallback<T>
- asyncState
Type: System.Object
- enumeratorCallback
Type: System.Func<AsyncEnumerator<T>, IEnumerator<Int32>>