public StopResizePool ( BatchAccountContext context, string poolId, IEnumerable |
||
context | BatchAccountContext | The account to use. |
poolId | string | The id of the pool. |
additionalBehaviors | IEnumerable |
Additional client behaviors to perform. |
리턴 | void |
public void StopResizePool(BatchAccountContext context, string poolId, IEnumerable<BatchClientBehavior> additionalBehaviors = null)
{
if (string.IsNullOrWhiteSpace(poolId))
{
throw new ArgumentNullException("poolId");
}
WriteVerbose(string.Format(Resources.StopResizingPool, poolId));
PoolOperations poolOperations = context.BatchOMClient.PoolOperations;
poolOperations.StopResizePool(poolId, additionalBehaviors);
}