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

SetSubnetsAsync() public method

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

            return InvokeAsync<SetSubnetsRequest,SetSubnetsResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonElasticLoadBalancingV2Client