DesktopVirtualization.Autorest/custom/InvokeAzWvdControlSessionHostUpdate_Post.cs
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information. using System.Net.Http; using System.Threading.Tasks; using Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20240408Preview; namespace Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Cmdlets { public partial class InvokeAzWvdControlSessionHostUpdate_Post { partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api60.IErrorResponse> response, ref global::System.Threading.Tasks.Task<bool> returnNow) { if(responseMessage.StatusCode == System.Net.HttpStatusCode.NoContent) { returnNow = Task.FromResult(true); return; } } } } |