Amazon.ApplicationAutoScaling.AmazonApplicationAutoScalingClient.RegisterScalableTargetAsync C# (CSharp) Метод

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

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

            return InvokeAsync<RegisterScalableTargetRequest,RegisterScalableTargetResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }