Amazon.ElasticLoadBalancingV2.AmazonElasticLoadBalancingV2Client.CreateListenerAsync C# (CSharp) Méthode

CreateListenerAsync() public méthode

Initiates the asynchronous execution of the CreateListener operation.
public CreateListenerAsync ( CreateListenerRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ElasticLoadBalancingV2.Model.CreateListenerRequest Container for the necessary parameters to execute the CreateListener operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Résultat Task
        public Task<CreateListenerResponse> CreateListenerAsync(CreateListenerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new CreateListenerRequestMarshaller();
            var unmarshaller = CreateListenerResponseUnmarshaller.Instance;

            return InvokeAsync<CreateListenerRequest,CreateListenerResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonElasticLoadBalancingV2Client