Amazon.ElasticLoadBalancingV2.AmazonElasticLoadBalancingV2Client.DescribeListenersAsync C# (CSharp) Method

DescribeListenersAsync() public method

Initiates the asynchronous execution of the DescribeListeners operation.
public DescribeListenersAsync ( DescribeListenersRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ElasticLoadBalancingV2.Model.DescribeListenersRequest Container for the necessary parameters to execute the DescribeListeners operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<DescribeListenersResponse> DescribeListenersAsync(DescribeListenersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new DescribeListenersRequestMarshaller();
            var unmarshaller = DescribeListenersResponseUnmarshaller.Instance;

            return InvokeAsync<DescribeListenersRequest,DescribeListenersResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonElasticLoadBalancingV2Client