Amazon.AutoScaling.AmazonAutoScalingClient.DescribeLoadBalancersAsync C# (CSharp) Method

DescribeLoadBalancersAsync() public method

Initiates the asynchronous execution of the DescribeLoadBalancers operation.
public DescribeLoadBalancersAsync ( DescribeLoadBalancersRequest request, System cancellationToken = default(CancellationToken) ) : Task
request DescribeLoadBalancersRequest Container for the necessary parameters to execute the DescribeLoadBalancers operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<DescribeLoadBalancersResponse> DescribeLoadBalancersAsync(DescribeLoadBalancersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new DescribeLoadBalancersRequestMarshaller();
            var unmarshaller = DescribeLoadBalancersResponseUnmarshaller.Instance;

            return InvokeAsync<DescribeLoadBalancersRequest,DescribeLoadBalancersResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonAutoScalingClient