/// <summary> /// Update entity in adoxio_applications /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='adoxioApplicationid'> /// key: adoxio_applicationid /// </param> /// <param name='body'> /// New property values /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task UpdateAsync(this IApplications operations, string adoxioApplicationid, MicrosoftDynamicsCRMadoxioApplication body, CancellationToken cancellationToken = default(CancellationToken)) { (await operations.UpdateWithHttpMessagesAsync(adoxioApplicationid, body, null, cancellationToken).ConfigureAwait(false)).Dispose(); }
/// <summary> /// Update entity in adoxio_applications /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='adoxioApplicationid'> /// key: adoxio_applicationid of adoxio_application /// </param> /// <param name='body'> /// New property values /// </param> /// <param name='customHeaders'> /// Headers that will be added to request. /// </param> public static HttpOperationResponse UpdateWithHttpMessages(this IApplications operations, string adoxioApplicationid, MicrosoftDynamicsCRMadoxioApplication body, Dictionary <string, List <string> > customHeaders = null) { return(operations.UpdateWithHttpMessagesAsync(adoxioApplicationid, body, customHeaders, CancellationToken.None).ConfigureAwait(false).GetAwaiter().GetResult()); }