Amazon.ElasticLoadBalancing.AmazonElasticLoadBalancingClient.AttachLoadBalancerToSubnetsAsync C# (CSharp) Метод

AttachLoadBalancerToSubnetsAsync() публичный Метод

Initiates the asynchronous execution of the AttachLoadBalancerToSubnets operation.
public AttachLoadBalancerToSubnetsAsync ( AttachLoadBalancerToSubnetsRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ElasticLoadBalancing.Model.AttachLoadBalancerToSubnetsRequest Container for the necessary parameters to execute the AttachLoadBalancerToSubnets operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task
        public Task<AttachLoadBalancerToSubnetsResponse> AttachLoadBalancerToSubnetsAsync(AttachLoadBalancerToSubnetsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new AttachLoadBalancerToSubnetsRequestMarshaller();
            var unmarshaller = AttachLoadBalancerToSubnetsResponseUnmarshaller.Instance;

            return InvokeAsync<AttachLoadBalancerToSubnetsRequest,AttachLoadBalancerToSubnetsResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonElasticLoadBalancingClient