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