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

RegisterTargetsAsync() public method

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

            return InvokeAsync<RegisterTargetsRequest,RegisterTargetsResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonElasticLoadBalancingV2Client