/// <summary> /// Cancels a build /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='buildId'> /// The build ID /// </param> /// <param name='properties'> /// </param> /// <param name='ownerName'> /// The name of the owner /// </param> /// <param name='appName'> /// The name of the application /// </param> public static Build Update(this IBuilds operations, int buildId, BuildPatch properties, string ownerName, string appName) { return(operations.UpdateAsync(buildId, properties, ownerName, appName).GetAwaiter().GetResult()); }