IReliableQueue<T>.CreateEnumerableAsync(ITransaction) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates an async enumerable over the IReliableQueue<T>.
public System.Threading.Tasks.Task<Microsoft.ServiceFabric.Data.IAsyncEnumerable<T>> CreateEnumerableAsync (Microsoft.ServiceFabric.Data.ITransaction tx);
abstract member CreateEnumerableAsync : Microsoft.ServiceFabric.Data.ITransaction -> System.Threading.Tasks.Task<Microsoft.ServiceFabric.Data.IAsyncEnumerable<'T>>
Public Function CreateEnumerableAsync (tx As ITransaction) As Task(Of IAsyncEnumerable(Of T))
Parameters
- tx
- ITransaction
Transaction to associate this operation with.
Returns
IEnumerable that represents all the values.
Exceptions
Exception indicates that the cannot serve reads at the moment. can be thrown in all s. One example for it being thrown in the is loss of . One example for it being thrown in the is that Reliable Queue's state is not yet consistent.