コード例 #1
0
 /// <summary>
 /// Update entity in csu_amps
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='csuAmpid'>
 /// key: csu_ampid of csu_amp
 /// </param>
 /// <param name='body'>
 /// New property values
 /// </param>
 /// <param name='customHeaders'>
 /// Headers that will be added to request.
 /// </param>
 public static HttpOperationResponse UpdateWithHttpMessages(this ICsuamps operations, string csuAmpid, MicrosoftDynamicsCRMcsuAmp body, Dictionary <string, List <string> > customHeaders = null)
 {
     return(operations.UpdateWithHttpMessagesAsync(csuAmpid, body, customHeaders, CancellationToken.None).ConfigureAwait(false).GetAwaiter().GetResult());
 }
コード例 #2
0
 /// <summary>
 /// Update entity in csu_amps
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='csuAmpid'>
 /// key: csu_ampid of csu_amp
 /// </param>
 /// <param name='body'>
 /// New property values
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task UpdateAsync(this ICsuamps operations, string csuAmpid, MicrosoftDynamicsCRMcsuAmp body, CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.UpdateWithHttpMessagesAsync(csuAmpid, body, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }