CloudJob.CommitChanges(IEnumerable<BatchClientBehavior>) メソッド

定義

保留中CloudJobのすべての変更をAzure Batch サービスにコミットします。

public void CommitChanges (System.Collections.Generic.IEnumerable<Microsoft.Azure.Batch.BatchClientBehavior> additionalBehaviors = default);
member this.CommitChanges : seq<Microsoft.Azure.Batch.BatchClientBehavior> -> unit
Public Sub CommitChanges (Optional additionalBehaviors As IEnumerable(Of BatchClientBehavior) = Nothing)

パラメーター

additionalBehaviors
IEnumerable<BatchClientBehavior>

の後の BatchClientBehavior Batch サービス要求に適用されるインスタンスの CustomBehaviorsコレクション。

注釈

Batch サービス上の既存CloudJobのものを更新、そのプロパティを変更されたのCloudJobプロパティに置き換えます。 変更されていないプロパティは無視されます。 このエンティティが Batch サービスから最後に取得されてからのすべての変更 (、GetJob(String, DetailLevel, IEnumerable<BatchClientBehavior>)、または ListJobs(DetailLevel, IEnumerable<BatchClientBehavior>)を使用Refresh(DetailLevel, IEnumerable<BatchClientBehavior>)) が適用されます。 明示的に null に設定されたプロパティは、Batch サービスがプロパティを null に設定する部分更新をサポートしていないため、例外が発生します。 プロパティを null に設定する必要がある場合は、 を使用します Commit(IEnumerable<BatchClientBehavior>)

これはブロック操作です。 非ブロッキングに相当するものについては、「」を参照してください CommitChangesAsync(IEnumerable<BatchClientBehavior>, CancellationToken)

適用対象