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