public UpdateTask ( BatchAccountContext context, |
||
context | BatchAccountContext | The account to use. |
task | The PSCloudTask object representing the task to update. | |
additionBehaviors | IEnumerable |
Additional client behaviors to perform. |
return | void |
public void UpdateTask(BatchAccountContext context, PSCloudTask task, IEnumerable<BatchClientBehavior> additionBehaviors = null)
{
if (task == null)
{
throw new ArgumentNullException("task");
}
WriteVerbose(string.Format(Resources.UpdatingTask, task.Id));
task.omObject.Commit(additionBehaviors);
}