Freigeben über


SecurityInsightsAutomationRuleCollection.IAsyncEnumerable<SecurityInsightsAutomationRuleResource>.GetAsyncEnumerator Methode

Definition

Gibt einen Enumerator zurück, der die Sammlung asynchron durchläuft.

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

Parameter

cancellationToken
CancellationToken

Ein CancellationToken, mit dem die asynchrone Iteration abgebrochen werden kann.

Gibt zurück

Ein Enumerator, der zum asynchronen Durchlaufen der Sammlung verwendet werden kann.

Implementiert

Gilt für: