Amazon.ElasticLoadBalancingV2.AmazonElasticLoadBalancingV2Client.CreateRuleAsync C# (CSharp) Метод

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

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

            return InvokeAsync<CreateRuleRequest,CreateRuleResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonElasticLoadBalancingV2Client