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