你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

AvsPrivateCloudClusterVirtualMachineCollection.IAsyncEnumerable<AvsPrivateCloudClusterVirtualMachineResource>.GetAsyncEnumerator 方法

定义

返回一个异步循环访问集合的枚举器。

System.Collections.Generic.IAsyncEnumerator<Azure.ResourceManager.Avs.AvsPrivateCloudClusterVirtualMachineResource> IAsyncEnumerable<AvsPrivateCloudClusterVirtualMachineResource>.GetAsyncEnumerator (System.Threading.CancellationToken cancellationToken);
abstract member System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.Avs.AvsPrivateCloudClusterVirtualMachineResource>.GetAsyncEnumerator : System.Threading.CancellationToken -> System.Collections.Generic.IAsyncEnumerator<Azure.ResourceManager.Avs.AvsPrivateCloudClusterVirtualMachineResource>
override this.System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.Avs.AvsPrivateCloudClusterVirtualMachineResource>.GetAsyncEnumerator : System.Threading.CancellationToken -> System.Collections.Generic.IAsyncEnumerator<Azure.ResourceManager.Avs.AvsPrivateCloudClusterVirtualMachineResource>
Function GetAsyncEnumerator (cancellationToken As CancellationToken) As IAsyncEnumerator(Of AvsPrivateCloudClusterVirtualMachineResource) Implements IAsyncEnumerable(Of AvsPrivateCloudClusterVirtualMachineResource).GetAsyncEnumerator

参数

cancellationToken
CancellationToken

一个 CancellationToken,可用于取消异步迭代。

返回

一个可用于异步循环访问集合的枚举器。

实现

适用于