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