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
Task<IAsyncEnumerable<T>>
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.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET