/// <summary>
 /// Get method that overwrites x-ms-client-request header with value
 /// 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='xMsClientRequestId'>
 /// This should appear as a method parameter, use value
 /// '9C4D50EE-2D56-4CD3-8152-34347DC9F2B0'
 /// </param>
 public static void ParamGet(this IXMsClientRequestIdOperations operations, string xMsClientRequestId)
 {
     Task.Factory.StartNew(s => ((IXMsClientRequestIdOperations)s).ParamGetAsync(xMsClientRequestId), operations, CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default).Unwrap().GetAwaiter().GetResult();
 }
 /// <summary>
 /// Get method that overwrites x-ms-client-request header with value
 /// 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='xMsClientRequestId'>
 /// This should appear as a method parameter, use value
 /// '9C4D50EE-2D56-4CD3-8152-34347DC9F2B0'
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task ParamGetAsync(this IXMsClientRequestIdOperations operations, string xMsClientRequestId, CancellationToken cancellationToken = default(CancellationToken))
 {
     await operations.ParamGetWithHttpMessagesAsync(xMsClientRequestId, null, cancellationToken).ConfigureAwait(false);
 }
 /// <summary>
 /// Get method that overwrites x-ms-client-request header with value
 /// 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='xMsClientRequestId'>
 /// This should appear as a method parameter, use value
 /// '9C4D50EE-2D56-4CD3-8152-34347DC9F2B0'
 /// </param>
 public static void ParamGet(this IXMsClientRequestIdOperations operations, string xMsClientRequestId)
 {
     operations.ParamGetAsync(xMsClientRequestId).GetAwaiter().GetResult();
 }
 /// <summary>
 /// Get method that overwrites x-ms-client-request header with value
 /// 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 public static void Get(this IXMsClientRequestIdOperations operations)
 {
     operations.GetAsync().GetAwaiter().GetResult();
 }
示例#5
0
 /// <summary>
 /// Get method that overwrites x-ms-client-request header with value
 /// 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async System.Threading.Tasks.Task GetAsync(this IXMsClientRequestIdOperations operations, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     await operations.GetWithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false);
 }
示例#6
0
 /// <summary>
 /// Get method that overwrites x-ms-client-request header with value
 /// 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 public static void Get(this IXMsClientRequestIdOperations operations)
 {
     System.Threading.Tasks.Task.Factory.StartNew(s => ((IXMsClientRequestIdOperations)s).GetAsync(), operations, System.Threading.CancellationToken.None, System.Threading.Tasks.TaskCreationOptions.None, System.Threading.Tasks.TaskScheduler.Default).Unwrap().GetAwaiter().GetResult();
 }
 /// <summary>
 /// Get method that overwrites x-ms-client-request header with value
 /// 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task GetAsync(this IXMsClientRequestIdOperations operations, CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.GetWithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)).Dispose();
 }