Freigeben über


ComputeNode.RebootAsync Methode

Definition

Startet einen asynchronen Aufruf, um den Computeknoten neu zu starten.

public System.Threading.Tasks.Task RebootAsync (Microsoft.Azure.Batch.Common.ComputeNodeRebootOption? rebootOption = default, System.Collections.Generic.IEnumerable<Microsoft.Azure.Batch.BatchClientBehavior> additionalBehaviors = default, System.Threading.CancellationToken cancellationToken = default);
member this.RebootAsync : Nullable<Microsoft.Azure.Batch.Common.ComputeNodeRebootOption> * seq<Microsoft.Azure.Batch.BatchClientBehavior> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function RebootAsync (Optional rebootOption As Nullable(Of ComputeNodeRebootOption) = Nothing, Optional additionalBehaviors As IEnumerable(Of BatchClientBehavior) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameter

rebootOption
Nullable<ComputeNodeRebootOption>

Die Neustartoption, die dem Neustart zugeordnet ist.

additionalBehaviors
IEnumerable<BatchClientBehavior>

Eine Auflistung von BatchClientBehavior-Instanzen, die nach den CustomBehaviors auf das aktuelle Objekt angewendet werden.

cancellationToken
CancellationToken

Ein CancellationToken zum Steuern der Lebensdauer des asynchronen Vorgangs.

Gibt zurück

Ein Task-Objekt, das den asynchronen Vorgang darstellt.

Gilt für: