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