Amazon.EC2.AmazonEC2Client.EnableVgwRoutePropagationAsync C# (CSharp) Method

EnableVgwRoutePropagationAsync() public method

Initiates the asynchronous execution of the EnableVgwRoutePropagation operation.
public EnableVgwRoutePropagationAsync ( EnableVgwRoutePropagationRequest request, System cancellationToken = default(CancellationToken) ) : Task
request EnableVgwRoutePropagationRequest Container for the necessary parameters to execute the EnableVgwRoutePropagation operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<EnableVgwRoutePropagationResponse> EnableVgwRoutePropagationAsync(EnableVgwRoutePropagationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new EnableVgwRoutePropagationRequestMarshaller();
            var unmarshaller = EnableVgwRoutePropagationResponseUnmarshaller.Instance;

            return InvokeAsync<EnableVgwRoutePropagationRequest,EnableVgwRoutePropagationResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonEC2Client