Ejemplo n.º 1
0
 /// <summary>
 /// Consume the FlightPredictionService web service.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='webServiceParameters'>
 /// Input parameters to the web service.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async System.Threading.Tasks.Task <WebServiceResult> FlightPredictionAsync(this IFlightPredictionService operations, InputParameters webServiceParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     using (var _result = await operations.FlightPredictionWithHttpMessagesAsync(webServiceParameters, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }